GCC 11.2 needed for kernel>=5.17. Updated Ubuntu

Removed workaround for libc6 (already on 22.04 LTS).
This commit is contained in:
Carlos Garcés 2022-05-14 16:04:23 +00:00 committed by GitHub
parent 37e27f9165
commit 89a30e4c49

View File

@ -25,7 +25,6 @@ jobs:
build: build:
needs: commontasks needs: commontasks
runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -37,6 +36,7 @@ jobs:
version: $(uname -r) version: $(uname -r)
use_apt: true use_apt: true
runs-on: ubuntu-22.04
steps: steps:
- name: install deb packages - name: install deb packages
env: env:
@ -51,7 +51,6 @@ jobs:
[ -z "$AMD64_DEB" ] && exit 2 [ -z "$AMD64_DEB" ] && exit 2
wget -nv ${KERNEL_URL}v${VERSION}/$AMD64_DEB wget -nv ${KERNEL_URL}v${VERSION}/$AMD64_DEB
wget -nv ${KERNEL_URL}v${VERSION}/$ALL_DEB wget -nv ${KERNEL_URL}v${VERSION}/$ALL_DEB
wget -nv http://mirrors.edge.kernel.org/ubuntu/pool/main/g/glibc/libc6_2.34-0ubuntu3_amd64.deb
sudo dpkg --force-all -i *.deb sudo dpkg --force-all -i *.deb
echo "KVER=$(echo $ALL_DEB | cut -d '_' -f 2 | rev | cut -c14- | rev)-generic" >> $GITHUB_ENV echo "KVER=$(echo $ALL_DEB | cut -d '_' -f 2 | rev | cut -c14- | rev)-generic" >> $GITHUB_ENV
- name: apt-linux-headers - name: apt-linux-headers