Skip to content

Commit d0fbdab

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

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/rust.yml

+13-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,22 @@ 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

0 commit comments

Comments
 (0)