Skip to content

Commit 775feb1

Browse files
authored
Update rust.yml
1 parent 55361d4 commit 775feb1

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/rust.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,18 @@ on:
66
pull_request:
77
branches: [ master ]
88
jobs:
9-
build:
9+
build-unix:
10+
runs-on: ${{ matrix.os }}-latest
11+
strategy:
12+
matrix:
13+
channel: [stable, beta, nightly]
14+
os: [ubuntu, macos]
15+
steps:
16+
- uses: actions/checkout@v2
17+
- run: rustup default ${{ matrix.channel }}
18+
- run: cargo build --verbose --all-targets
19+
- run: cargo test
20+
build-windows:
1021
runs-on: windows-latest
1122
strategy:
1223
fail-fast: false

0 commit comments

Comments
 (0)