Skip to content

Commit 9b03452

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

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/build.yml

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

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

1414
steps:
1515
- name: Checkout code
@@ -24,14 +24,23 @@ jobs:
2424
git-core gnupg flex bison build-essential zip curl \
2525
zlib1g-dev libc6-dev-i386 x11proto-core-dev libx11-dev \
2626
lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc \
27-
unzip fontconfig lld llvm
27+
unzip fontconfig
2828
2929
- name: Make build script executable
3030
run: chmod +x build.sh
3131

3232
- name: Run build script
3333
run: |
34-
# Inject CFLAGS to ignore strict prototype errors
34+
# Inject CFLAGS to suppress the strict-prototypes error you encountered
3535
export CFLAGS="$CFLAGS -Wno-error=strict-prototypes -Wno-strict-prototypes"
3636
export CPPFLAGS="$CPPFLAGS -Wno-error=strict-prototypes -Wno-strict-prototypes"
3737
./build.sh -m all -k y -s y
38+
39+
- name: Upload Build Artifacts
40+
if: always() # Upload even if some models failed
41+
uses: actions/upload-artifact@v4
42+
with:
43+
name: kernel-builds-${{ github.run_id }}
44+
path: |
45+
build/out/**/*.zip
46+
if-no-files-found: error

0 commit comments

Comments
 (0)