Skip to content

Commit

Permalink
Update5
Browse files Browse the repository at this point in the history
  • Loading branch information
minuscat committed Nov 25, 2024
1 parent 6de387a commit e2d56b7
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions .github/workflows/kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build deb package
on: [push]
jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -14,28 +14,10 @@ jobs:
sudo apt-get -y update
sudo apt-get -y install git fakeroot \
libelf-dev libssl-dev flex bison coreutils build-essential \
xz-utils devscripts initramfs-tools wget debhelper linux-headers-6.5.0-18-generic
- name: Install customized gcc version
run: |
sudo apt-get -y install libmpfr-dev libgmp3-dev libmpc-dev
wget http://ftp.gnu.org/gnu/gcc/gcc-14.2.0/gcc-14.2.0.tar.gz
tar -xf gcc-14.2.0.tar.gz
cd gcc-14.2.0
./configure --build=x86_64-linux-gnu \
--host=x86_64-linux-gnu \
--target=x86_64-linux-gnu \
--prefix=/usr/local/gcc-14.2.0 \
--enable-checking=release \
--enable-languages=c,c++ \
--disable-multilib \
--program-suffix=-14.2.0
make -j$(nproc)
sudo make install
sudo update-alternatives --install /usr/bin/g++ g++ /usr/local/gcc-14.2.0/bin/g++14.2.0 14
sudo update-alternatives --install /usr/bin/gcc gcc /usr/local/gcc-14.2.0/bin/gcc14.2.0 14
xz-utils devscripts initramfs-tools wget debhelper linux-headers-6.8.0-31-generic
- name: Kernel config
run: |
cp /usr/src/linux-headers-6.5.0-18-generic/.config .
cp /usr/src/linux-headers-6.8.0-31-generic/.config .
scripts/config --set-val CONFIG_FRAME_WARN 0 \
--disable SYSTEM_TRUSTED_KEYS \
--disable SYSTEM_REVOCATION_KEYS \
Expand Down Expand Up @@ -87,7 +69,7 @@ jobs:

release:
name: Release build artifacts for the branch
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: build
permissions: write-all
if: ${{ github.ref != 'refs/heads/main'}}
Expand Down

0 comments on commit e2d56b7

Please sign in to comment.