Skip to content

Commit 2a16094

Browse files
committed
Run CI on windows/macos
1 parent 919292f commit 2a16094

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

.github/workflows/rust.yml

+20-3
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,29 @@ 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: [ubuntu-latest, windows-latest, macos-latest]
20+
rust: [stable]
1721
steps:
1822
- uses: actions/checkout@v4
23+
- name: Set up Python
24+
uses: actions/setup-python@v5
25+
with:
26+
python-version: "3.13"
27+
check-latest: true
28+
- name: Setup Rust
29+
uses: actions-rs/toolchain@v1
30+
with:
31+
profile: minimal
32+
toolchain: ${{ matrix.rust }}
33+
override: true
1934
- name: Build
2035
run: cargo build --verbose
2136
- name: Run tests
2237
run: cargo test --verbose
38+
- name: Run tests on Release
39+
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)