mirror of
https://github.com/crate-ci/typos.git
synced 2026-11-20 12:44:04 +01:00
Merge pull request #1602 from meop/ci/platform-release-matrix
ci: add native Windows ARM64 releases
This commit is contained in:
1 file changed
+6
-2
@@ -63,7 +63,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
build: [linux, linux-aarch64, macos, macos-aarch64, win-msvc]
|
||||
build: [linux, linux-aarch64, macos, macos-aarch64, win-msvc, win-arm64-msvc]
|
||||
include:
|
||||
- build: linux
|
||||
os: ubuntu-22.04
|
||||
@@ -85,6 +85,10 @@ jobs:
|
||||
os: windows-2022
|
||||
rust: stable
|
||||
target: x86_64-pc-windows-msvc
|
||||
- build: win-arm64-msvc
|
||||
os: windows-11-arm
|
||||
rust: stable
|
||||
target: aarch64-pc-windows-msvc
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@@ -109,7 +113,7 @@ jobs:
|
||||
mkdir -p "$staging"/doc
|
||||
cp {README.md,LICENSE-*} "$staging/"
|
||||
cp {CHANGELOG.md,docs/*} "$staging/doc/"
|
||||
if [ "${{ matrix.os }}" = "windows-2022" ]; then
|
||||
if [[ "${{ matrix.os }}" == windows-* ]]; then
|
||||
cp "target/${{ matrix.target }}/release/${{ env.BIN_NAME }}.exe" "$staging/"
|
||||
ls -l "$staging"
|
||||
cd "$staging"
|
||||
|
||||
Reference in new issue
Block a user