kernels 5.15 also need GCC 11.2

Fix error: unrecognized command-line option ‘-mharden-sls=all’
This commit is contained in:
Carlos Garcés 2022-08-15 19:12:35 +00:00
parent 28ec0cbf73
commit 4dc937cb39

View File

@ -37,7 +37,7 @@ jobs:
shell: bash {0}
run: |
echo ::set-output name=skip_build::False
dpkg --compare-versions "${{matrix.kernel_version}}" "ge" "5.17"
dpkg --compare-versions "${{matrix.kernel_version}}" "ge" "5.15"
if [ $? -eq "0" ] && [ ${{matrix.gcc_version}} -lt 11 ];
then
echo "GCC version not compatible"