Skip to content

Commit 45b2d90

Browse files
committed
Add Windows arm64 platform to CI templates
Don't build it yet
1 parent 5221cef commit 45b2d90

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

.github/workflows/windows-builds-on-master.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
- target: i686-pc-windows-gnu
3030
mingwdir: mingw32
3131
mingw: https://ci-mirrors.rust-lang.org/rustc/i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
32+
- target: aarch64-pc-windows-msvc
33+
skip_tests: yes
3234
steps:
3335
- uses: actions/checkout@v2
3436
# v2 defaults to a shallow checkout, but we need at least to the previous tag
@@ -62,7 +64,7 @@ jobs:
6264
run: |
6365
echo "%USERPROFILE%\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
6466
echo "TARGET=${{ matrix.target }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
65-
echo "SKIP_TESTS=" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
67+
echo "SKIP_TESTS=${{ matrix.skip_tests }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
6668
- name: Cache cargo registry and git trees
6769
uses: actions/cache@v2
6870
with:

.github/workflows/windows-builds-on-pr.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
- target: i686-pc-windows-gnu
2727
mingwdir: mingw32
2828
mingw: https://ci-mirrors.rust-lang.org/rustc/i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
29+
- target: aarch64-pc-windows-msvc
30+
skip_tests: yes
2931
steps:
3032
- uses: actions/checkout@v2
3133
# v2 defaults to a shallow checkout, but we need at least to the previous tag
@@ -59,7 +61,7 @@ jobs:
5961
run: |
6062
echo "%USERPROFILE%\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
6163
echo "TARGET=${{ matrix.target }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
62-
echo "SKIP_TESTS=" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
64+
echo "SKIP_TESTS=${{ matrix.skip_tests }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
6365
- name: Cache cargo registry and git trees
6466
uses: actions/cache@v2
6567
with:

.github/workflows/windows-builds-on-stable.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
- target: i686-pc-windows-gnu
3030
mingwdir: mingw32
3131
mingw: https://ci-mirrors.rust-lang.org/rustc/i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
32+
- target: aarch64-pc-windows-msvc
33+
skip_tests: yes
3234
steps:
3335
- uses: actions/checkout@v2
3436
# v2 defaults to a shallow checkout, but we need at least to the previous tag
@@ -62,7 +64,7 @@ jobs:
6264
run: |
6365
echo "%USERPROFILE%\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
6466
echo "TARGET=${{ matrix.target }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
65-
echo "SKIP_TESTS=" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
67+
echo "SKIP_TESTS=${{ matrix.skip_tests }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
6668
- name: Cache cargo registry and git trees
6769
uses: actions/cache@v2
6870
with:

ci/actions-templates/windows-builds-template.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
target:
2929
- x86_64-pc-windows-msvc
3030
- i686-pc-windows-msvc # skip-pr skip-master
31+
- aarch64-pc-windows-msvc # skip-pr skip-master skip-stable
3132
- x86_64-pc-windows-gnu # skip-pr
3233
- i686-pc-windows-gnu # skip-pr skip-master
3334
include:
@@ -37,6 +38,8 @@ jobs:
3738
- target: i686-pc-windows-gnu
3839
mingwdir: mingw32
3940
mingw: https://ci-mirrors.rust-lang.org/rustc/i686-6.3.0-release-posix-dwarf-rt_v5-rev2.7z
41+
- target: aarch64-pc-windows-msvc
42+
skip_tests: yes
4043
steps:
4144
- uses: actions/checkout@v2
4245
# v2 defaults to a shallow checkout, but we need at least to the previous tag
@@ -70,7 +73,7 @@ jobs:
7073
run: |
7174
echo "%USERPROFILE%\.cargo\bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
7275
echo "TARGET=${{ matrix.target }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
73-
echo "SKIP_TESTS=" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
76+
echo "SKIP_TESTS=${{ matrix.skip_tests }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
7477
- name: Cache cargo registry and git trees
7578
uses: actions/cache@v2
7679
with:

ci/run.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ case "$TARGET" in
2020
mips* ) ;;
2121
riscv* ) ;;
2222
s390x* ) ;;
23+
aarch64-pc-windows-msvc ) ;;
2324
# default case, build with rustls enabled
2425
* ) FEATURES+=('--features' 'reqwest-rustls-tls') ;;
2526
esac

0 commit comments

Comments
 (0)