Skip to content

Commit 4f058ba

Browse files
committed
FIXUP: CI: run it trough clang too...
Signed-off-by: David Heidelberg <david@ixit.cz>
1 parent 4dcfe67 commit 4f058ba

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
build:
2020
strategy:
2121
fail-fast: false
22+
matrix:
23+
cc: [gcc, clang]
2224
runs-on: ubuntu-latest
2325
steps:
2426
- uses: actions/checkout@v2
@@ -38,7 +40,7 @@ jobs:
3840
continue-on-error: false
3941
with:
4042
path: ${{ env.SCCACHE_DIR }}
41-
key: ${{ env.KERNEL_NAME }}
43+
key: ${{ env.KERNEL_NAME }}-${{ matrix.cc }}
4244
- name: Start sccache server
4345
run: sccache --start-server
4446
- name: Install dependencies
@@ -49,10 +51,7 @@ jobs:
4951
- name: Build
5052
run: |
5153
tuxmake --directory ./ -w sccache --target-arch=arm -k $KBUILD_DEFCONFIG $TUXMAKE_EXTRA_OPTS
52-
cd /home/runner/.cache/tuxmake/builds/1/
53-
tar -cf linux-grate-next.tar *
54-
cd -
55-
mv /home/runner/.cache/tuxmake/builds/1/linux-grate-next.tar ./
54+
tar -cf linux-grate-${{ matrix.cc }}.tar -C /home/runner/.cache/tuxmake/builds/1 .
5655
- name: Print sccache stats
5756
run: sccache --show-stats
5857
- name: Stop sccache server
@@ -61,9 +60,9 @@ jobs:
6160
if: ${{!startsWith(github.ref, 'refs/pull')}}
6261
with:
6362
repo_token: "${{ secrets.GITHUB_TOKEN }}"
64-
automatic_release_tag: "${{ env.KERNEL_NAME }}"
63+
automatic_release_tag: "${{ env.KERNEL_NAME }}-${{ matrix.cc }}"
6564
prerelease: true
66-
title: "Build ${{ env.KERNEL_NAME }}"
65+
title: "Build of Grate kernel, compiled with ${{ matrix.cc }}"
6766
files: |
6867
*.tar
6968
dtbs:

0 commit comments

Comments
 (0)