Skip to content

Commit

Permalink
[v0.9] add CI target windows-2019 (#316)
Browse files Browse the repository at this point in the history
* enable ci on windows-2019
  • Loading branch information
Taowyoo authored Sep 14, 2023
1 parent be75e0a commit 40229d3
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
- rust: stable
target: x86_64-pc-windows-msvc
os: windows-latest
- rust: stable
target: x86_64-pc-windows-msvc
os: windows-latest
- rust: stable
target: x86_64-pc-windows-msvc
os: windows-2019
- rust: stable
target: aarch64-unknown-linux-musl
os: ubuntu-20.04
Expand All @@ -48,12 +54,22 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install dependencies
- name: Install qemu-user for aarch64 target
if: matrix.target == 'aarch64-unknown-linux-musl'
run: |
sudo apt-get update
sudo apt-get install -y qemu-user
- name: Install clang-11 on windows-2019
if: matrix.os == 'windows-2019'
uses: KyleMayes/install-llvm-action@v1
with:
version: "11.0"

- name: Set LIBCLANG_PATH on windows-2019
if: matrix.os == 'windows-2019'
run: echo "LIBCLANG_PATH='C:\Program Files\LLVM\bin'" >> "$GITHUB_ENV"

- name: Cache Dependencies
uses: Swatinem/rust-cache@988c164c3d0e93c4dbab36aaf5bbeb77425b2894
with:
Expand All @@ -76,6 +92,7 @@ jobs:
ZLIB_INSTALLED: ${{ matrix.target == 'x86_64-unknown-linux-gnu' && 'true' || '' }}
AES_NI_SUPPORT: ${{ matrix.target == 'x86_64-unknown-linux-gnu' && 'true' || '' }}
shell: bash

ci-success:
name: ci
if: always()
Expand All @@ -85,4 +102,4 @@ jobs:
steps:
- run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
- name: Done
run: exit 0
run: exit 0

0 comments on commit 40229d3

Please sign in to comment.