Skip to content

Commit 3696a48

Browse files
committed
ci: Use parameterized build
Signed-off-by: Akira Moroo <[email protected]>
1 parent 94cdae2 commit 3696a48

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/build.yaml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,25 @@ jobs:
1919
DEBIAN_FRONTEND=noninteractive sudo apt update -y
2020
DEBIAN_FRONTEND=noninteractive sudo apt install -y build-essential gcc-aarch64-linux-gnu clang-format
2121
- name: Build
22+
env:
23+
CC: aarch64-linux-gnu-gcc
24+
FULL_CONTEXT: 0
25+
SYSCALL_RECORD: 0
2226
run: |
23-
CC=aarch64-linux-gnu-gcc make
24-
CC=aarch64-linux-gnu-gcc make -C apps/basic
27+
make clean
28+
make -C apps/basic clean
29+
make
30+
make -C apps/basic
31+
- name: Build
32+
env:
33+
CC: aarch64-linux-gnu-gcc
34+
FULL_CONTEXT: 1
35+
SYSCALL_RECORD: 1
36+
run: |
37+
make clean
38+
make -C apps/basic clean
39+
make
40+
make -C apps/basic
2541
- name: Format
2642
run: |
2743
make fmt

0 commit comments

Comments
 (0)