Skip to content

Commit 30bcd0a

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

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/rust.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,21 @@ 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+
matrix:
18+
os: [ubuntu-latest, windows-latest, macos-latest]
19+
rust: [stable]
1620

1721
steps:
1822
- uses: actions/checkout@v4
23+
- name: Setup Rust
24+
uses: actions-rs/toolchain@v1
25+
with:
26+
profile: minimal
27+
toolchain: ${{ matrix.rust }}
28+
override: true
1929
- name: Build
2030
run: cargo build --verbose
2131
- name: Run tests

0 commit comments

Comments
 (0)