Skip to content

Commit 00d966d

Browse files
committed
ci: test windows clang and gcc
1 parent f0327cd commit 00d966d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/rust-ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ jobs:
4646
target: x86_64-pc-windows-msvc
4747
# msvc's `-Werror` is `/WX`
4848
cxxflags: '/WX'
49+
- os: windows-2022
50+
target: x86_64-pc-windows-msvc
51+
cxx: clang++
52+
cxxflags: '-Werror'
53+
- os: windows-2022
54+
target: x86_64-pc-windows-gnu
55+
cxxflags: '-Werror'
4956
runs-on: ${{ matrix.os }}
5057
env:
5158
CXX: ${{ matrix.cxx }}
@@ -73,9 +80,9 @@ jobs:
7380
run: cargo fetch --locked --target $TARGET
7481
- run: cargo fetch --locked
7582
- name: cargo test build
76-
run: cargo build --tests --release --all-features
83+
run: cargo build --tests --release --all-features --target $TARGET
7784
- name: cargo test
78-
run: cargo test --release --all-features
85+
run: cargo test --release --all-features --target $TARGET
7986

8087
deny-check:
8188
name: cargo-deny

0 commit comments

Comments
 (0)