Skip to content

Commit 4f6d84e

Browse files
committed
ci: Test on more platforms, deny warnings
1 parent 5c29ea3 commit 4f6d84e

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
1+
env:
2+
RUSTFLAGS: "-Dwarnings"
3+
RUSTDOCFLAGS: "-Dwarnings"
4+
15
name: CI
26
on: [push, pull_request]
37
jobs:
48
test:
59
name: Test
6-
runs-on: ubuntu-latest
710
strategy:
811
matrix:
9-
rust: [stable, beta, nightly]
12+
os: [windows-2025, ubuntu-24.04, macos-15]
13+
rust: [stable, nightly]
14+
include:
15+
- os: ubuntu-24.04
16+
rust: beta
17+
runs-on: ${{ matrix.os }}
1018
steps:
11-
- uses: actions/checkout@master
12-
- name: Install Rust
13-
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
14-
- run: cargo test
15-
- run: cargo doc
19+
- uses: actions/checkout@master
20+
- name: Install Rust
21+
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
22+
- run: cargo test
23+
- run: cargo doc

0 commit comments

Comments
 (0)