Skip to content

Commit

Permalink
Add aarch64-pc-windows-msvc to CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Oct 2, 2023
1 parent 51f63e4 commit eb0316b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ jobs:
# platforms mostly to smoketest that the build machinery in mk/ is
# portable.
- arm-unknown-linux-gnueabihf
- aarch64-pc-windows-msvc
- i686-pc-windows-msvc
- x86_64-unknown-linux-musl
- x86_64-unknown-linux-gnu
Expand All @@ -170,6 +171,9 @@ jobs:
rust_channel: 1.46.0

include:
- target: aarch64-pc-windows-msvc
host_os: windows-latest

- target: arm-unknown-linux-gnueabihf
host_os: ubuntu-22.04

Expand Down Expand Up @@ -202,6 +206,13 @@ jobs:
- if: ${{ matrix.target == 'aarch64-apple-darwin' }}
run: echo "DEVELOPER_DIR=/Applications/Xcode_12.2.app/Contents/Developer" >> $GITHUB_ENV

- if: ${{ matrix.target == 'aarch64-pc-windows-msvc' }}
run: |
echo "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\Llvm\x64\bin" >> $GITHUB_PATH
echo "RUSTFLAGS=-C target-feature=+crt-static" >> $GITHUB_ENV
echo "TARGET_CC=clang" >> $GITHUB_ENV
shell: bash

- if: ${{ !contains(matrix.host_os, 'windows') }}
run: |
mk/cargo.sh test -vv --target=${{ matrix.target }} ${{ matrix.cargo_options }} ${{ matrix.features }} ${{ matrix.mode }}
Expand Down

0 comments on commit eb0316b

Please sign in to comment.