Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/release-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,19 @@ jobs:
- name: Install dependencies
run: ${{ matrix.packages_install }}

- name: Set up MSVC cross-compilation for Windows ARM64
if: ${{ contains(matrix.targets, 'aarch64-pc-windows-msvc') }}
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
with:
arch: amd64_arm64

- name: Set MSVC ARM64 linker for cargo cross-compilation
if: ${{ contains(matrix.targets, 'aarch64-pc-windows-msvc') }}
shell: pwsh
run: |
$link = (Get-Command link.exe -ErrorAction Stop).Source
"CARGO_TARGET_AARCH64_PC_WINDOWS_MSVC_LINKER=$link" >> $env:GITHUB_ENV

- name: Build artifacts
shell: bash
run: |
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,19 @@ jobs:
- name: Install dependencies
run: ${{ matrix.packages_install }}

- name: Set up MSVC cross-compilation for Windows ARM64
if: ${{ contains(matrix.targets, 'aarch64-pc-windows-msvc') }}
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
with:
arch: amd64_arm64

- name: Set MSVC ARM64 linker for cargo cross-compilation
if: ${{ contains(matrix.targets, 'aarch64-pc-windows-msvc') }}
shell: pwsh
run: |
$link = (Get-Command link.exe -ErrorAction Stop).Source
"CARGO_TARGET_AARCH64_PC_WINDOWS_MSVC_LINKER=$link" >> $env:GITHUB_ENV

- name: Configure SSL.com signing env
if: ${{ runner.os == 'Windows' && env.HAS_SSLDOTCOM_SIGNING == 'true' && !fromJson(needs.plan.outputs.val).announcement_is_prerelease }}
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion dist-workspace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ windows-archive = ".zip"
install-success-msg = ""

[dist.github-custom-runners]
aarch64-pc-windows-msvc = "windows-11-arm"
aarch64-pc-windows-msvc = "windows-2022"
Loading