Skip to content

Commit 846bed1

Browse files
authored
Update build.yml
1 parent 1f32fa1 commit 846bed1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
build:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
1313

1414
steps:
1515
- name: Checkout code
@@ -30,4 +30,8 @@ jobs:
3030
run: chmod +x build.sh
3131

3232
- name: Run build script
33-
run: ./build.sh -m all -k y -s y
33+
run: |
34+
# Inject CFLAGS to ignore strict prototype errors
35+
export CFLAGS="$CFLAGS -Wno-error=strict-prototypes -Wno-strict-prototypes"
36+
export CPPFLAGS="$CPPFLAGS -Wno-error=strict-prototypes -Wno-strict-prototypes"
37+
./build.sh -m all -k y -s y

0 commit comments

Comments
 (0)