Skip to content

Commit 0019638

Browse files
committed
Update CI for Windows/macOS
1 parent b36cdae commit 0019638

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/main.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,27 @@ jobs:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
rust: [stable, beta, nightly]
11-
os: [ubuntu-latest, windows-latest]
10+
include:
11+
- os: ubuntu-latest
12+
rust: stable
13+
- os: ubuntu-latest
14+
rust: beta
15+
- os: ubuntu-latest
16+
rust: nightly
17+
- os: macos-latest
18+
rust: stable
19+
- os: windows-latest
20+
rust: stable
1221
steps:
1322
- uses: actions/checkout@v4
1423
- name: Install Rust (
1524
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
25+
shell: bash
1626
- run: cargo test
1727
- run: cargo test --features debug
1828
- run: cargo test --features global
1929
- run: cargo test --release
2030
- run: cargo test --features debug --release
21-
if: matrix.os == 'ubuntu-latest'
2231
- run: RUSTFLAGS='--cfg test_lots' cargo test --release
2332
- run: RUSTFLAGS='--cfg test_lots' cargo test --release --features debug
2433

0 commit comments

Comments
 (0)