File tree Expand file tree Collapse file tree 4 files changed +12
-17
lines changed
Expand file tree Collapse file tree 4 files changed +12
-17
lines changed Original file line number Diff line number Diff line change @@ -164,10 +164,10 @@ jobs:
164164 - false
165165 - true
166166include :
167- - os : windows-latest # FIXME(diegorusso): change to os: windows- aarch64
167+ - os : windows-aarch64
168168arch : arm64
169169free-threading : false
170- - os : windows-latest # FIXME(diegorusso): change to os: windows- aarch64
170+ - os : windows-aarch64
171171arch : arm64
172172free-threading : true
173173 - os : windows-latest
@@ -193,6 +193,7 @@ jobs:
193193 - arm64
194194uses : ./.github/workflows/reusable-windows-msi.yml
195195with :
196+ os : ${{matrix.os }}
196197arch : ${{matrix.arch }}
197198
198199build-macos :
Original file line number Diff line number Diff line change 7474runner : windows-latest
7575 - target : aarch64-pc-windows-msvc/msvc
7676architecture : ARM64
77- runner : windows-latest
77+ runner : windows-aarch64
7878 - target : x86_64-apple-darwin/clang
7979architecture : x86_64
8080runner : macos-13
@@ -96,19 +96,11 @@ jobs:
9696python-version : ' 3.11'
9797
9898 - name : Native Windows
99- if : runner.os == 'Windows' && matrix.architecture != 'ARM64'
10099run : |
101100 choco install llvm --allow-downgrade --no-progress --version ${{matrix.llvm }}.1.0
102101 ./PCbuild/build.bat --experimental-jit ${{matrix.debug && '-d' || ''}} -p ${{matrix.architecture }}
103102 ./PCbuild/rt.bat ${{matrix.debug && '-d' || ''}} -p ${{matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3
104103
105- # No tests (yet):
106- - name : Emulated Windows
107- if : runner.os == 'Windows' && matrix.architecture == 'ARM64'
108- run : |
109- choco install llvm --allow-downgrade --no-progress --version ${{matrix.llvm }}.1.0
110- ./PCbuild/build.bat --experimental-jit ${{matrix.debug && '-d' || ''}} -p ${{matrix.architecture }}
111-
112104# The `find` line is required as a result of https://github.com/actions/runner-images/issues/9966.
113105# This is a bug in the macOS runner image where the pre-installed Python is installed in the same
114106# directory as the Homebrew Python, which causes the build to fail for macos-13. This line removes
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: Reusable Windows MSI
33on :
44workflow_call :
55inputs :
6+ os :
7+ description : OS to run on
8+ required : true
9+ type : string
610arch :
711description : CPU architecture
812required : true
1721jobs :
1822build :
1923name : installer for ${{inputs.arch }}
20- runs-on : windows-latest
24+ runs-on : ${{inputs.os }}
2125timeout-minutes : 60
2226env :
2327ARCH : ${{inputs.arch }}
Original file line number Diff line number Diff line change 2424
2525jobs :
2626build :
27- name : ${{inputs.arch == 'arm64' && 'build' || 'build and test' }} (${{inputs.arch }})
27+ name : Build and test (${{inputs.arch }})
2828runs-on : ${{inputs.os }}
2929timeout-minutes : 60
3030env :
4343 -p "${ARCH}"
4444 ${{fromJSON(inputs.free-threading) && '--disable-gil' || ''}}
4545shell : bash
46- - name : Display build info # FIXME(diegorusso): remove the `if`
47- if : inputs.arch != 'arm64'
46+ - name : Display build info
4847run : .\\python.bat -m test.pythoninfo
49- - name : Tests # FIXME(diegorusso): remove the `if`
50- if : inputs.arch != 'arm64'
48+ - name : Tests
5149run : >-
5250 .\\PCbuild\\rt.bat
5351 -p "${ARCH}"
You can’t perform that action at this time.
0 commit comments