New kernels needs GCC 12

This commit is contained in:
Carlos Garcés 2022-10-25 17:26:27 +00:00
parent e39c4e7a66
commit 8c722d1b95

View File

@ -29,8 +29,8 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
kernel_version: ${{fromJson(needs.commontasks.outputs.matrix)}} kernel_version: ${{fromJson(needs.commontasks.outputs.matrix)}}
gcc_version: [9, 10, 11] gcc_version: [9, 10, 12]
#kernel_version: [5.15-rc3,5.14.10] # kernel_version: [6.1-rc1]
steps: steps:
- name: Check Versions - name: Check Versions
id: check_version id: check_version
@ -38,7 +38,7 @@ jobs:
run: | run: |
echo ::set-output name=skip_build::False echo ::set-output name=skip_build::False
dpkg --compare-versions "${{matrix.kernel_version}}" "ge" "5.15" dpkg --compare-versions "${{matrix.kernel_version}}" "ge" "5.15"
if [ $? -eq "0" ] && [ ${{matrix.gcc_version}} -lt 11 ]; if [ $? -eq "0" ] && [ ${{matrix.gcc_version}} -lt 12 ];
then then
echo "GCC version not compatible" echo "GCC version not compatible"
echo ::set-output name=skip_build::True echo ::set-output name=skip_build::True