Skip to content

Commit

Permalink
Add splc.yml for GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
liqwang committed Oct 19, 2023
1 parent 1ec597f commit cae839b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/splc.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cae839b

Please sign in to comment.