summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Stecklina <julian.stecklina@cyberus-technology.de>2024-05-08 10:24:48 +0200
committerJulian Stecklina <julian.stecklina@cyberus-technology.de>2024-05-08 10:25:38 +0200
commita80957ee02cb270fd3fe471121e0facafc2f4de7 (patch)
treedc3df1f48506515944ef10ce59935585c906e15b
parentcdfcd0c2eadb378326eadc3dba9d132f11b66d0e (diff)
Update CI actions
-rw-r--r--.github/workflows/test.yml20
1 files changed, 15 insertions, 5 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index b6a409c..32beb52 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -3,7 +3,7 @@ on:
pull_request:
push:
jobs:
- linux_6_8:
+ linux_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -11,7 +11,17 @@ jobs:
- uses: cachix/cachix-action@v14
with:
name: blitz
- - run: git clone --depth 1 --branch v6.8 https://github.com/gregkh/linux.git
- - run: nix develop .#linux_6_8 --command bash -c "cd linux && make rustavailable && make defconfig && make -j$(nproc) bzImage"
- - run: git -C linux clean -fdx
- - run: nix develop .#linux_6_8_gcc --command bash -c "cd linux && make defconfig && make -j$(nproc) bzImage"
+ - name: Checkout Linux
+ run: |
+ git clone --depth 1 --branch ${{ matrix.version.tag }} https://github.com/gregkh/linux.git
+ - name: Check Devshell
+ run: |
+ nix develop .#${{ matrix.version.attribute }} --command bash -c "cd linux && make rustavailable && make defconfig && make -j$(nproc) bzImage"
+ git -C linux clean -fdx
+ nix develop .#${{ matrix.version.attribute }}_gcc --command bash -c "cd linux && make defconfig && make -j$(nproc) bzImage"
+ strategy:
+ matrix:
+ version: [
+ { tag: v6.8, attribute: linux_6_8 },
+ { tag: v6.9-rc6, attribute: linux_6_9 }
+ ]