From cae839b970fa07fae8b9139ba832be72ea6ea6fd Mon Sep 17 00:00:00 2001 From: QuanQuan-CHO <836200779@qq.com> Date: Fri, 20 Oct 2023 00:38:49 +0800 Subject: [PATCH] Add `splc.yml` for GitHub Action --- .github/workflows/splc.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/splc.yml diff --git a/.github/workflows/splc.yml b/.github/workflows/splc.yml new file mode 100644 index 0000000..d793fae --- /dev/null +++ b/.github/workflows/splc.yml @@ -0,0 +1,24 @@ +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. setup Flex & Bison + run: sudo apt install build-essential flex bison + + - name: 3. make splc + working-directory: phase1 + run: make splc