File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 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
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
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
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 :
You can’t perform that action at this time.
0 commit comments