Merge branch 'main' of https://github.com/QuanQuan-CHO/CS323-Compiler… #47
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: make splc | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'phase1/**' | |
jobs: | |
make-splc: | |
name: make 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. make splc | |
working-directory: phase1 | |
run: make splc |