feat: windows arm64 target (#283)
- aarch64-pc-windows-msvc
Diff
.github/workflows/devel.yml | 18 ++++++++++++------
.github/workflows/release.yml | 16 +++++++++++-----
docs/content/download-and-install.tmpl.md | 2 ++
docs/content/platforms-architectures.md | 2 +-
4 files changed, 26 insertions(+), 12 deletions(-)
@@ -56,8 +56,8 @@ jobs:
- macos-arm64
- windows-msvc
- windows-msvc-i686
- windows-msvc-arm64
- windows-pc-gnu
include:
- build: pinned
@@ -148,13 +148,13 @@ jobs:
os: windows-2022
rust: stable
target: i686-pc-windows-msvc
- build: windows-msvc-arm64
os: windows-2022
rust: stable
target: aarch64-pc-windows-msvc
- build: windows-pc-gnu
os: windows-2022
rust: stable-x86_64-gnu
steps:
- name: Checkout repository
@@ -195,9 +195,15 @@ jobs:
echo "target flag is: ${{ env.TARGET_FLAGS }}"
echo "target dir is: ${{ env.TARGET_DIR }}"
- name: Setup Windows ARM64
if: ${{ contains(matrix.build, 'windows-msvc-arm64') }}
run: |
$env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm\x64\bin"
- name: Skip tests
shell: bash
if: ${{ contains(fromJSON('["macos-arm64", "linux-android-arm64", "linux-android-armv7", "netbsd", "illumos"]'), matrix.build) }}
if: ${{ contains(fromJSON('["macos-arm64", "linux-android-arm64", "linux-android-armv7", "netbsd", "illumos", "windows-msvc-arm64"]'), matrix.build) }}
run: |
echo "SKIP_TESTS=--no-run" >> $GITHUB_ENV
@@ -68,8 +68,8 @@ jobs:
- macos-arm64
- windows-msvc
- windows-msvc-i686
- windows-msvc-arm64
- windows-pc-gnu
include:
- build: linux-musl
os: ubuntu-22.04
@@ -147,14 +147,14 @@ jobs:
os: windows-2022
rust: stable
target: i686-pc-windows-msvc
- build: windows-msvc-arm64
os: windows-2022
rust: stable
target: aarch64-pc-windows-msvc
- build: windows-pc-gnu
os: windows-2022
rust: stable-x86_64-gnu
target: x86_64-pc-windows-gnu
steps:
- name: Checkout repository
@@ -187,6 +187,12 @@ jobs:
echo "TARGET_FLAGS=--target=${{ matrix.target }}" >> $GITHUB_ENV
echo "TARGET_DIR=./target/${{ matrix.target }}" >> $GITHUB_ENV
- name: Setup Windows ARM64
if: ${{ contains(matrix.build, 'windows-msvc-arm64') }}
run: |
$env:Path += ";C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm\x64\bin"
- name: Show command used for Cargo
run: |
echo "cargo command is: ${{ env.CARGO_BIN }}"
@@ -115,6 +115,8 @@ Pre-compiled binaries grouped by CPU architectures.
<small>**SHA256SUM:** `{{aarch64-apple-darwin.tar.gz}}`</small>
- [static-web-server-{{RELEASE_VERSION}}-aarch64-linux-android.tar.gz](https://github.com/static-web-server/static-web-server/releases/download/{{RELEASE_VERSION}}/static-web-server-{{RELEASE_VERSION}}-aarch64-linux-android.tar.gz)<br>
<small>**SHA256SUM:** `{{aarch64-linux-android.tar.gz}}`</small>
- [static-web-server-{{RELEASE_VERSION}}-aarch64-pc-windows-msvc.zip](https://github.com/static-web-server/static-web-server/releases/download/{{RELEASE_VERSION}}/static-web-server-{{RELEASE_VERSION}}-aarch64-pc-windows-msvc.zip)<br>
<small>**SHA256SUM:** `{{aarch64-pc-windows-msvc.zip}}`</small>
### x86
@@ -43,7 +43,7 @@ Currently, only the following platforms/architectures are supported.
- `x86_64-pc-windows-gnu`
#### ARM64
- ~~`aarch64-pc-windows-msvc`~~ (temporarily disabled until [briansmith/ring#1167](https://github.com/briansmith/ring/issues/1167))
- `aarch64-pc-windows-msvc`
## FreeBSD