Skip to content

Commit ac0364d

Browse files
committed
Use only one version of GCC
1 parent 638f08f commit ac0364d

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,9 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
kernel_version: ${{fromJson(needs.commontasks.outputs.matrix)}}
31-
gcc_version: [9, 10, 12]
31+
gcc_version: [14]
3232
# kernel_version: [6.1-rc1]
3333
steps:
34-
- name: Check Versions
35-
id: check_version
36-
shell: bash {0}
37-
run: |
38-
echo ::set-output name=skip_build::False
39-
dpkg --compare-versions "${{matrix.kernel_version}}" "ge" "5.15"
40-
if [ $? -eq "0" ] && [ ${{matrix.gcc_version}} -lt 12 ];
41-
then
42-
echo "GCC version not compatible"
43-
echo ::set-output name=skip_build::True
44-
fi
4534
- name: Download kernel packages
4635
if: steps.check_version.outputs.skip_build == 'False'
4736
run: |
@@ -55,7 +44,6 @@ jobs:
5544
wget -nv ${KERNEL_URL}v${{matrix.kernel_version}}/$ALL_DEB
5645
echo "KVER=$(echo $ALL_DEB | cut -d '_' -f 2 | rev | cut -c14- | rev)-generic" >> $GITHUB_ENV
5746
- name: Set up GCC
58-
if: steps.check_version.outputs.skip_build == 'False'
5947
uses: egor-tensin/setup-gcc@v1
6048
with:
6149
version: ${{matrix.gcc_version }}

0 commit comments

Comments
 (0)