7474 runner : windows-latest
7575 - target : aarch64-pc-windows-msvc/msvc
7676 architecture : ARM64
77- # Forks don't have access to Windows on Arm runners. These jobs are skipped below:
78- runner : ${{ github.repository_owner == 'python' && 'windows-aarch64' || 'windows-latest' }}
77+ runner : windows-11-arm
7978 - target : x86_64-apple-darwin/clang
8079 architecture : x86_64
8180 runner : macos-13
@@ -96,11 +95,10 @@ jobs:
9695 with :
9796 python-version : ' 3.11'
9897
98+ # PCbuild downloads LLVM automatically:
9999 - name : Windows
100- # Forks don't have access to Windows on Arm runners. Skip those:
101- if : runner.os == 'Windows' && (matrix.architecture != 'ARM64' || github.repository_owner == 'python')
100+ if : runner.os == 'Windows'
102101 run : |
103- choco install llvm --allow-downgrade --no-progress --version ${{ matrix.llvm }}.1.0
104102 ./PCbuild/build.bat --experimental-jit ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.architecture }}
105103 ./PCbuild/rt.bat ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3
106104
@@ -115,7 +113,7 @@ jobs:
115113 find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete
116114 brew install llvm@${{ matrix.llvm }}
117115 export SDKROOT="$(xcrun --show-sdk-path)"
118- ./configure --enable-experimental-jit ${{ matrix.debug && '--with-pydebug' || '' }}
116+ ./configure --enable-experimental-jit --enable-universalsdk --with-universal-archs=universal2 ${{ matrix.debug && '--with-pydebug' || '' }}
119117 make all --jobs 4
120118 ./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
121119
@@ -128,29 +126,30 @@ jobs:
128126 make all --jobs 4
129127 ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
130128
131- jit-with-disabled-gil :
132- name : Free-Threaded (Debug)
133- needs : interpreter
134- runs-on : ubuntu-24.04
135- timeout-minutes : 90
136- strategy :
137- fail-fast : false
138- matrix :
139- llvm :
140- - 19
141- steps :
142- - uses : actions/checkout@v4
143- with :
144- persist-credentials : false
145- - uses : actions/setup-python@v5
146- with :
147- python-version : ' 3.11'
148- - name : Build with JIT enabled and GIL disabled
149- run : |
150- sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
151- export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
152- ./configure --enable-experimental-jit --with-pydebug --disable-gil
153- make all --jobs 4
154- - name : Run tests
155- run : |
156- ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
129+ # XXX: GH-133171
130+ # jit-with-disabled-gil:
131+ # name: Free-Threaded (Debug)
132+ # needs: interpreter
133+ # runs-on: ubuntu-24.04
134+ # timeout-minutes: 90
135+ # strategy:
136+ # fail-fast: false
137+ # matrix:
138+ # llvm:
139+ # - 19
140+ # steps:
141+ # - uses: actions/checkout@v4
142+ # with:
143+ # persist-credentials: false
144+ # - uses: actions/setup-python@v5
145+ # with:
146+ # python-version: '3.11'
147+ # - name: Build with JIT enabled and GIL disabled
148+ # run: |
149+ # sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
150+ # export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
151+ # ./configure --enable-experimental-jit --with-pydebug --disable-gil
152+ # make all --jobs 4
153+ # - name: Run tests
154+ # run: |
155+ # ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
0 commit comments