final #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test splc | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'phase2/**' | |
jobs: | |
test-splc: | |
name: test splc | |
runs-on: ubuntu-22.04 | |
env: | |
TZ: Asia/Shanghai | |
steps: | |
- name: 1. Git checkout... | |
uses: actions/checkout@v3 | |
- name: 2. Install link library for Flex & Bison | |
run: sudo apt install libfl-dev libbison-dev | |
- name: 3. Compile splc and run test cases | |
working-directory: phase2 | |
run: make test |