Skip to content

Commit ba4c7f8

Browse files
committed
ci: Build for Windows on ARM64
1 parent 73b66f0 commit ba4c7f8

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/pyinstaller-build.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- ubuntu-24.04
1919
- ubuntu-24.04-arm
2020
- windows-2022
21+
- windows-11-arm
2122
- macos-13
2223
- macos-15
2324
fail-fast: false
@@ -49,13 +50,17 @@ jobs:
4950
- name: Install dependencies (macOS)
5051
run: brew install flatcc flatbuffers
5152
if: startsWith(matrix.os, 'macos')
53+
- name: Setup MSVC toolchain
54+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1
55+
if: runner.os == 'Windows'
56+
with:
57+
arch: ${{ endsWith(matrix.os, '-arm') && 'arm64' || 'amd64' }}
5258
- name: Run nightly build on Windows
59+
if: startsWith(matrix.os, 'windows')
60+
shell: cmd
5361
run: |
5462
del "C:\Program Files\Git\usr\bin\link.exe"
55-
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
5663
bash .github\workflows\nightly-build.sh ${{ inputs.version }}
57-
shell: cmd
58-
if: startsWith(matrix.os, 'windows')
5964
- name: Run nightly build on Ubuntu/MacOS
6065
run: bash .github/workflows/nightly-build.sh
6166
if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')

0 commit comments

Comments
 (0)