From c25d5f8b415dd306b2ed7b8e96a30bcbb1f0d025 Mon Sep 17 00:00:00 2001 From: Christian Lewe Date: Tue, 29 Apr 2025 17:35:01 +0200 Subject: [PATCH] ci: Add Windows CI The nix install action does not support Windows, so we run CI the normal way without nix. --- .github/workflows/test.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5652d90..219b0f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,6 +62,26 @@ jobs: run: | nix develop .#msrv --command bash -c "just test" + test-windows: + name: Test - stable toolchain (windows-latest) + runs-on: windows-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Checkout Toolchain + uses: dtolnay/rust-toolchain@stable + + - name: Enable Rust cache + uses: Swatinem/rust-cache@v2 + + - name: Install just + uses: extractions/setup-just@v2 + + - name: Run unit tests + run: just test + test-fuzz: name: Test - fuzzer runs-on: ubuntu-latest