summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Stecklina <js@alien8.de>2024-03-31 19:02:36 +0200
committerJulian Stecklina <js@alien8.de>2024-03-31 19:28:51 +0200
commita7c6ac6933d2dcabe22659fa3a24ba0eb9531c98 (patch)
tree21c3e7112693c0a99c99d578e19cba8575975f3c
parent9c864184b07fbd9dc4781404f7128e32e4c41ee0 (diff)
Test linux_6_8 environment
-rw-r--r--.github/workflows/test.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..b6a409c
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,17 @@
+name: "Test"
+on:
+ pull_request:
+ push:
+jobs:
+ linux_6_8:
+ 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://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"