Skip to content

Commit 8433e7d

Browse files
committed
Linux CI build: use Ubuntu 22.04
The version of GCC shipped with Ubuntu 24.04 will refuse to build Linux 5.10; building a new version of the kernel, however, requires improvements to our C front-end: ``` ./include/linux/find.h:40:1: error: expected constant expression, but got '-(size + 18446744073709551615ul >= offset ? 0 : 1)' val = *addr & GENMASK(size - 1, offset); CONVERSION ERROR ```
1 parent cadd2e7 commit 8433e7d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build-and-test-Linux.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
# This job takes approximately 18 minutes
1010
CompileLinux:
11-
runs-on: ubuntu-24.04
11+
runs-on: ubuntu-22.04
1212
steps:
1313
- uses: actions/checkout@v4
1414
with:
@@ -20,7 +20,7 @@ jobs:
2020
DEBIAN_FRONTEND: noninteractive
2121
run: |
2222
sudo apt-get update
23-
sudo apt-get install --no-install-recommends -y clang-19 clang++-19 flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
23+
sudo apt-get install --no-install-recommends -y clang-11 clang++-11 flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache
2424
sudo apt-get install --no-install-recommends -y libssl-dev libelf-dev libudev-dev libpci-dev libiberty-dev autoconf
2525
sudo apt-get install --no-install-recommends -y gawk jq
2626
@@ -29,10 +29,10 @@ jobs:
2929
with:
3030
save-always: true
3131
path: .ccache
32-
key: ${{ runner.os }}-24.04-make-clang-${{ github.ref }}-${{ github.sha }}-KERNEL
32+
key: ${{ runner.os }}-22.04-make-clang-${{ github.ref }}-${{ github.sha }}-KERNEL
3333
restore-keys: |
34-
${{ runner.os }}-24.04-make-clang-${{ github.ref }}
35-
${{ runner.os }}-24.04-make-clang
34+
${{ runner.os }}-22.04-make-clang-${{ github.ref }}
35+
${{ runner.os }}-22.04-make-clang
3636
- name: ccache environment
3737
run: |
3838
echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV

0 commit comments

Comments
 (0)