We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 549f7d9 commit df8d5ccCopy full SHA for df8d5cc
.github/workflows/check-build.yml
@@ -0,0 +1,32 @@
1
+name: Check and Build
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ check_build:
11
+ name: Check and Build
12
+ runs-on: ubuntu-latest
13
+ if: "!contains(github.event.head_commit.message, 'skip-ci')"
14
+ timeout-minutes: 30
15
+ steps:
16
+ - name: Checkout Repository
17
+ uses: actions/checkout@v6
18
19
+ - name: Check Test Case Format
20
+ run: ./reorder.py -c
21
22
+ - name: Clone sysy-runtime-lib
23
24
+ with:
25
+ repository: pku-minic/sysy-runtime-lib
26
+ path: sysy-runtime-lib
27
28
+ - name: Build sysy-runtime-lib
29
+ run: make -C sysy-runtime-lib -j
30
31
+ - name: Build Test Cases
32
+ run: LIB_DIR=sysy-runtime-lib/build make -j
0 commit comments