Skip to content

Commit e72d5e3

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

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/rust.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,25 @@ env:
1111

1212
jobs:
1313
build:
14-
15-
runs-on: ubuntu-latest
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]
1621

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

0 commit comments

Comments
 (0)