Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 68da188f..0ab9eeed 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -58,7 +58,7 @@ jobs:
strategy:
fail-fast: false # don't fail other jobs if one fails
matrix:
- build: [x86_64-linux, aarch64-linux, x86_64-macos, x86_64-windows, aarch64-macos] #, x86_64-win-gnu, win32-msvc
+ build: [x86_64-linux, aarch64-linux, x86_64-macos, x86_64-windows, aarch64-macos, aarch64-windows] #, x86_64-win-gnu, win32-msvc
include:
- build: x86_64-linux
# WARN: When changing this to a newer version, make sure that the GLIBC isnt too new, as this can cause issues
@@ -88,6 +88,11 @@ jobs:
rust: stable
target: aarch64-apple-darwin
cross: false
+ - build: aarch64-windows
+ os: windows-11-arm
+ rust: stable
+ target: aarch64-pc-windows-msvc
+ cross: false
# - build: riscv64-linux
# os: ubuntu-22.04
# rust: stable
@@ -214,7 +219,7 @@ jobs:
shell: bash
run: |
mkdir -p dist
- if [ "${{ matrix.os }}" = "windows-latest" ]; then
+ if [ "${{ runner.os }}" = "Windows" ]; then
cp "target/${{ matrix.target }}/opt/hx.exe" "dist/"
else
cp "target/${{ matrix.target }}/opt/hx" "dist/"
@@ -256,6 +261,7 @@ jobs:
for dir in bins-* ; do
platform=${dir#"bins-"}
+ exe=""
if [[ $platform =~ "windows" ]]; then
exe=".exe"
fi