From a80957ee02cb270fd3fe471121e0facafc2f4de7 Mon Sep 17 00:00:00 2001 From: Julian Stecklina Date: Wed, 8 May 2024 10:24:48 +0200 Subject: Update CI actions --- .github/workflows/test.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to '.github') 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 } + ] -- cgit v1.3.1