Skip to content

Commit eaab651

Browse files
committed
Add clang-cl test, maybe?
1 parent 948e604 commit eaab651

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/test.yml

+30
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,36 @@ jobs:
4646
command: test
4747
args: --manifest-path=${{ matrix.manifest }} ${{ matrix.mode }} --examples -- --nocapture
4848

49+
clang-cl-test:
50+
name: Test ${{ matrix.manifest }} on ${{ matrix.rust_target }} with ${{ matrix.clang_cl }}
51+
runs-on: windows-latest
52+
strategy:
53+
fail-fast: false
54+
matrix:
55+
manifest: ['psm/Cargo.toml', 'Cargo.toml']
56+
rust_target:
57+
- x86_64-pc-windows-msvc
58+
- i686-pc-windows-msvc
59+
include:
60+
- rust_target: x86_64-pc-windows-msvc
61+
clang_cl: C:/msys64/mingw64/bin/clang-cl
62+
- rust_target: i686-pc-windows-msvc
63+
clang_cl: C:/msys64/mingw32/bin/clang-cl
64+
steps:
65+
- uses: actions/checkout@v2
66+
- uses: actions-rs/toolchain@v1
67+
with:
68+
toolchain: stable
69+
profile: minimal
70+
default: true
71+
target: ${{ matrix.rust_target }}
72+
- uses: actions-rs/cargo@v1
73+
with:
74+
command: test
75+
args: --manifest-path=${{ matrix.manifest }} -- --nocapture
76+
env:
77+
CC: ${{ matrix.clang_cl }}
78+
4979
windows-gnu-test:
5080
name: Test ${{ matrix.manifest }} on ${{ matrix.rust_target }} with ${{ matrix.rust_toolchain }}
5181
runs-on: windows-latest

0 commit comments

Comments
 (0)