Skip to content

Commit b80c06f

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

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

.github/workflows/rust.yml

+16-3
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,25 @@ 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]
21+
python: ['3.13']
1722
steps:
1823
- uses: actions/checkout@v4
24+
- name: Setup Rust
25+
uses: actions-rs/toolchain@v1
26+
with:
27+
profile: minimal
28+
toolchain: ${{ matrix.rust }}
29+
override: true
1930
- name: Build
2031
run: cargo build --verbose
2132
- name: Run tests
2233
run: cargo test --verbose
34+
- name: Run tests on Release
35+
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)