Skip to content

feat(ci): update actions/checkout to latest (v4) #5

feat(ci): update actions/checkout to latest (v4)

feat(ci): update actions/checkout to latest (v4) #5

Workflow file for this run

# test kernel build
name: kbuild
on: [push, pull_request]
jobs:
x86_64_deftest:
name: Compile kernel using X86_64 defconfig merged with kselftest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install tools
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: |
git bc bison flex libssl-dev make libelf-dev build-essential
version: 1.0
- name: Configure and build
run: |
make defconfig
make kselftest-merge
make -j $(nproc)
bcm2711_deftest:
name: Cross-compile kernel using BCM2711 defconfig merged with kselftest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install tools
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: |
git bc bison flex libssl-dev make libc6-dev
crossbuild-essential-arm64
version: 2.0
- name: Configure and build
env:
KERNEL: kernel8
ARCH: arm64
CROSS_COMPILE: aarch64-linux-gnu-
run: |
make bcm2711_defconfig
make olddefconfig
make kselftest-merge
make Image modules dtbs -j $(nproc)
# todo: um_deftest (test usermode linux build and run)