ci: add Windows ARM64 builds and release archive

This commit is contained in:
Marshall Porter
2026-08-28 17:23:15 -07:00
parent 6fc5a2d286
commit df2c1ed757
3 changed files with 13 additions and 2 deletions
+3
View File
@@ -23,6 +23,9 @@ jobs:
- os: windows-latest
rust: stable
target: x86_64-pc-windows-msvc
- os: windows-11-arm
rust: stable
target: aarch64-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
+4 -1
View File
@@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm, macOS-latest, windows-latest]
os: [ubuntu-latest, ubuntu-24.04-arm, macOS-latest, windows-latest, windows-11-arm]
rust: [stable]
runs-on: ${{ matrix.os }}
@@ -52,6 +52,9 @@ jobs:
- name: Build for Windows
if: matrix.os == 'windows-latest'
run: make release_win
- name: Build for Windows ARM64
if: matrix.os == 'windows-11-arm'
run: make release_win_arm64
- name: Release
uses: softprops/action-gh-release@v1
with:
+6 -1
View File
@@ -7,7 +7,7 @@ BIN_NAME = procs
export LONG_VERSION
.PHONY: all test clean release_lnx release_win release_mac
.PHONY: all test clean release_lnx release_win release_win_arm64 release_mac
all: test
@@ -33,6 +33,11 @@ release_win:
mv -v target/x86_64-pc-windows-msvc/release/${BIN_NAME}.exe ./
7z a ${BIN_NAME}-v${VERSION}-x86_64-windows.zip ${BIN_NAME}.exe
release_win_arm64:
cargo build --locked --release --target=aarch64-pc-windows-msvc
mv -v target/aarch64-pc-windows-msvc/release/${BIN_NAME}.exe ./
7z a ${BIN_NAME}-v${VERSION}-aarch64-windows.zip ${BIN_NAME}.exe
release_mac:
cargo build --locked --release --target=x86_64-apple-darwin
cargo build --locked --release --target=aarch64-apple-darwin