@@ -19,14 +19,20 @@ jobs:
19
19
fail-fast : false
20
20
matrix :
21
21
rust_toolchain : [nightly, stable, 1.63.0]
22
- os : [ubuntu-latest, windows-latest, macOS-latest]
22
+ os : [ubuntu-latest, windows-latest, macOS-latest, windows-11-arm ]
23
23
mode : ["--release", "-Zminimal-versions", ""]
24
24
manifest : ["psm/Cargo.toml", "Cargo.toml"]
25
25
exclude :
26
26
- rust_toolchain : stable
27
27
mode : -Zminimal-versions
28
28
- rust_toolchain : 1.63.0
29
29
mode : -Zminimal-versions
30
+ include :
31
+ - os : windows-latest
32
+ extra_target : i686-pc-windows-msvc
33
+ - os : windows-11-arm
34
+ rust_toolchain : nightly
35
+ extra_target : arm64ec-pc-windows-msvc
30
36
timeout-minutes : 10
31
37
steps :
32
38
- uses : actions/checkout@v4
36
42
toolchain : ${{ matrix.rust_toolchain }}
37
43
profile : minimal
38
44
default : true
45
+ target : ${{ matrix.extra_target }}
39
46
- name : Test ${{ matrix.manifest}} with ${{ matrix.mode }}
40
47
uses : actions-rs/cargo@v1
41
48
with :
46
53
with :
47
54
command : test
48
55
args : --manifest-path=${{ matrix.manifest }} ${{ matrix.mode }} --examples -- --nocapture
56
+ - if : ${{ matrix.extra_target }}
57
+ name : Test ${{ matrix.manifest}} with ${{ matrix.mode }} as ${{ matrix.extra_target }}
58
+ uses : actions-rs/cargo@v1
59
+ with :
60
+ command : test
61
+ args : --target=${{ matrix.extra_target }} --manifest-path=${{ matrix.manifest }} ${{ matrix.mode }} -- --nocapture
62
+ - if : ${{ matrix.extra_target }}
63
+ name : Test ${{ matrix.manifest}} examples with ${{ matrix.mode }} as ${{ matrix.extra_target }}
64
+ uses : actions-rs/cargo@v1
65
+ with :
66
+ command : test
67
+ args : --target=${{ matrix.extra_target }} --manifest-path=${{ matrix.manifest }} ${{ matrix.mode }} --examples -- --nocapture
49
68
50
69
clang-cl-test :
51
70
name : Test ${{ matrix.manifest }} on ${{ matrix.rust_target }} with ${{ matrix.clang_cl }}
0 commit comments