-
Notifications
You must be signed in to change notification settings - Fork 38
53 lines (49 loc) · 1.51 KB
/
windows.yml
File metadata and controls
53 lines (49 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Windows
on:
pull_request: {}
push:
branches: master
jobs:
test-x86_64-pc-windows-msvc:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: swatinem/rust-cache@v2
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
profile: minimal
override: true
targets: "wasm32-unknown-unknown"
- name: "Test on the native x86_64-pc-windows-msvc"
run: cargo test --all-features --workspace
test-x86_64-pc-windows-gnu:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: swatinem/rust-cache@v2
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
profile: minimal
override: true
targets: "wasm32-unknown-unknown"
- name: "Test when cross-compiling to x86_64-pc-windows-gnu"
env:
AUDITABLE_TEST_TARGET: "x86_64-pc-windows-gnu"
run: cargo test --all-features --workspace
test-i686-pc-windows-msvc:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: swatinem/rust-cache@v2
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
profile: minimal
override: true
targets: "wasm32-unknown-unknown,i686-pc-windows-msvc"
- name: "Test when cross-compiling to i686-pc-windows-msvc"
env:
AUDITABLE_TEST_TARGET: "i686-pc-windows-msvc"
run: cargo test --all-features --workspace