Skip to content

Commit

Permalink
Update CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
blitz committed May 8, 2024
1 parent cdfcd0c commit a80957e
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,25 @@ on:
pull_request:
push:
jobs:
linux_6_8:
linux_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
- uses: cachix/cachix-action@v14
with:
name: blitz
- run: git clone --depth 1 --branch v6.8 https:/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:/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 }
]

0 comments on commit a80957e

Please sign in to comment.