Skip to content

Commit b612118

Browse files
committed
CI: Add aarch64-pc-windows-msvc (build only).
There are no runners in GitHub Actions so we can't run the tests, but at least we can build them.
1 parent e7873ff commit b612118

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ jobs:
145145
# There is no platform-specific code in webpki. Choose a handful of
146146
# platforms mostly to smoketest that the build machinery in mk/ is
147147
# portable.
148+
# Specifically choose `aarch64-pc-windows-msvc` since it was new in
149+
# *ring* 0.17.
150+
- aarch64-pc-windows-msvc
148151
- arm-unknown-linux-gnueabihf
149152
- i686-pc-windows-msvc
150153
- x86_64-unknown-linux-musl
@@ -168,6 +171,11 @@ jobs:
168171
rust_channel: 1.46.0
169172

170173
include:
174+
- target: aarch64-pc-windows-msvc
175+
host_os: windows-latest
176+
# GitHub Actions doesn't have a way to run this target yet.
177+
cargo_options: --no-run
178+
171179
- target: arm-unknown-linux-gnueabihf
172180
host_os: ubuntu-22.04
173181

@@ -200,6 +208,11 @@ jobs:
200208
- if: ${{ matrix.target == 'aarch64-apple-darwin' }}
201209
run: echo "DEVELOPER_DIR=/Applications/Xcode_12.2.app/Contents/Developer" >> $GITHUB_ENV
202210

211+
- if: ${{ matrix.target == 'aarch64-pc-windows-msvc' }}
212+
run: |
213+
echo "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm\x64\bin" >> $GITHUB_PATH
214+
shell: bash
215+
203216
- if: ${{ !contains(matrix.host_os, 'windows') }}
204217
run: |
205218
mk/cargo.sh test -vv --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }}

0 commit comments

Comments
 (0)