8181            runner : windows-11-arm 
8282          - target : x86_64-apple-darwin/clang 
8383            architecture : x86_64 
84-             runner : macos-13  
84+             runner : macos-15-intel  
8585          - target : aarch64-apple-darwin/clang 
8686            architecture : aarch64 
8787            runner : macos-14 
@@ -106,15 +106,10 @@ jobs:
106106          ./PCbuild/build.bat --experimental-jit ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.architecture }} 
107107          ./PCbuild/rt.bat ${{ matrix.debug && '-d' || '' }} -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3 
108108
109- #  The `find` line is required as a result of https://github.com/actions/runner-images/issues/9966.
110-         #  This is a bug in the macOS runner image where the pre-installed Python is installed in the same
111-         #  directory as the Homebrew Python, which causes the build to fail for macos-13. This line removes
112-         #  the symlink to the pre-installed Python so that the Homebrew Python is used instead.
113109name : macOS 
114110        if : runner.os == 'macOS' 
115111        run : | 
116112          brew update 
117-           find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete 
118113          brew install llvm@${{ matrix.llvm }} 
119114          export SDKROOT="$(xcrun --show-sdk-path)" 
120115          # Set MACOSX_DEPLOYMENT_TARGET and -Werror=unguarded-availability to 
@@ -134,6 +129,34 @@ jobs:
134129          make all --jobs 4 
135130          ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3 
136131
132+ jit-with-disabled-gil :
133+     name : Free-Threaded (Debug) 
134+     needs : interpreter 
135+     runs-on : ubuntu-24.04 
136+     timeout-minutes : 90 
137+     strategy :
138+       fail-fast : false 
139+       matrix :
140+         llvm :
141+           - 19 
142+     steps :
143+       - uses : actions/checkout@v4 
144+         with :
145+           persist-credentials : false 
146+       - uses : actions/setup-python@v5 
147+         with :
148+           python-version : ' 3.11' 
149+       - name : Build with JIT enabled and GIL disabled 
150+         run : | 
151+           sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }} 
152+           export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH" 
153+           ./configure --enable-experimental-jit --with-pydebug --disable-gil 
154+           make all --jobs 4 
155+ name : Run tests 
156+         run : | 
157+           ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3 
158+ continue-on-error : true 
159+ 
137160  no-opt-jit :
138161    name : JIT without optimizations (Debug) 
139162    needs : interpreter 
@@ -160,31 +183,3 @@ jobs:
160183name : Run tests without optimizations 
161184        run : | 
162185          PYTHON_UOPS_OPTIMIZE=0 ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3 
163- 
164- #  XXX: GH-133171
165-   #  jit-with-disabled-gil:
166-   #    name: Free-Threaded (Debug)
167-   #    needs: interpreter
168-   #    runs-on: ubuntu-24.04
169-   #    timeout-minutes: 90
170-   #    strategy:
171-   #      fail-fast: false
172-   #      matrix:
173-   #        llvm:
174-   #          - 19
175-   #    steps:
176-   #      - uses: actions/checkout@v4
177-   #        with:
178-   #          persist-credentials: false
179-   #      - uses: actions/setup-python@v5
180-   #        with:
181-   #          python-version: '3.11'
182-   #      - name: Build with JIT enabled and GIL disabled
183-   #        run: |
184-   #          sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
185-   #          export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
186-   #          ./configure --enable-experimental-jit --with-pydebug --disable-gil
187-   #          make all --jobs 4
188-   #      - name: Run tests
189-   #        run: |
190-   #          ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
0 commit comments