Skip to content

Commit d991c6e

Browse files
committed
Run CI on windows/macos
1 parent d74d9e8 commit d991c6e

File tree

2 files changed

+25
-4
lines changed

2 files changed

+25
-4
lines changed

.github/workflows/rust.yml

+24-3
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,33 @@ env:
1111

1212
jobs:
1313
build:
14-
15-
runs-on: ubuntu-latest
16-
14+
name: Build and test
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
os: [
20+
ubuntu-latest,
21+
windows-latest,
22+
# macos-latest # disabled due to incompatibility. See issue #1
23+
]
24+
rust: [stable]
1725
steps:
1826
- uses: actions/checkout@v4
27+
- name: Set up Python
28+
uses: actions/setup-python@v5
29+
with:
30+
python-version: "3.13"
31+
check-latest: true
32+
- name: Setup Rust
33+
uses: actions-rs/toolchain@v1
34+
with:
35+
profile: minimal
36+
toolchain: ${{ matrix.rust }}
37+
override: true
1938
- name: Build
2039
run: cargo build --verbose
2140
- name: Run tests
2241
run: cargo test --verbose
42+
- name: Run tests on Release
43+
run: cargo test --release --verbose

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ edition = "2024"
55

66
[dev-dependencies]
77
proptest = "1.6.0"
8-
pyo3 = "0.23.4"
8+
pyo3 = { version = "0.24", features = ["abi3"] }

0 commit comments

Comments
 (0)