Skip to content

Commit 5cd3743

Browse files
committed
ci: Add Windows CI
The nix install action does not support Windows, so we run CI the normal way without nix.
1 parent 818f017 commit 5cd3743

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/test.yml

+20
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,26 @@ jobs:
6262
run: |
6363
nix develop .#msrv --command bash -c "just test"
6464
65+
test-windows:
66+
name: Test - stable toolchain (Windows)
67+
runs-on: windows-latest
68+
69+
steps:
70+
- name: Checkout
71+
uses: actions/checkout@v3
72+
73+
- name: Checkout Toolchain
74+
uses: dtolnay/rust-toolchain@stable
75+
76+
- name: Enable Rust cache
77+
uses: Swatinem/rust-cache@v2
78+
79+
- name: Install just
80+
uses: extractions/setup-just@v2
81+
82+
- name: Run unit tests
83+
run: just test
84+
6585
test-fuzz:
6686
name: Test - fuzzer
6787
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)