@@ -19,14 +19,20 @@ jobs:
1919 fail-fast : false
2020 matrix :
2121 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 ]
2323 mode : ["--release", "-Zminimal-versions", ""]
2424 manifest : ["psm/Cargo.toml", "Cargo.toml"]
2525 exclude :
2626 - rust_toolchain : stable
2727 mode : -Zminimal-versions
2828 - rust_toolchain : 1.63.0
2929 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
3036 timeout-minutes : 10
3137 steps :
3238 - uses : actions/checkout@v4
3642 toolchain : ${{ matrix.rust_toolchain }}
3743 profile : minimal
3844 default : true
45+ target : ${{ matrix.extra_target }}
3946 - name : Test ${{ matrix.manifest}} with ${{ matrix.mode }}
4047 uses : actions-rs/cargo@v1
4148 with :
4653 with :
4754 command : test
4855 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
4968
5069 clang-cl-test :
5170 name : Test ${{ matrix.manifest }} on ${{ matrix.rust_target }} with ${{ matrix.clang_cl }}
0 commit comments