Skip to content

github actions: Add our common workflows to lts 8.8 #61

github actions: Add our common workflows to lts 8.8

github actions: Add our common workflows to lts 8.8 #61

name: CI
on:
push:
branches:
- '**'
- '!mainline'
jobs:
kernel-build-job:
runs-on:
labels: kernel-build
container:
image: rockylinux:8
env:
ROCKY_ENV: rocky8
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf groupinstall 'Development Tools' -y
dnf install --enablerepo=devel bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-git/kernel-src-git
cp configs/kernel-4.18.0-x86_64.config .config
make olddefconfig
make -j8