@@ -37,22 +37,15 @@ jobs:
3737        target :
3838#  Un-comment as we add support for more platforms for tail-calling interpreters.
3939#           - i686-pc-windows-msvc/msvc
40-           - x86_64-pc-windows-msvc/msvc 
4140#           - aarch64-pc-windows-msvc/msvc
4241          - x86_64-apple-darwin/clang 
4342          - aarch64-apple-darwin/clang 
44-           - x86_64-unknown-linux-gnu/gcc 
45-           - aarch64-unknown-linux-gnu/gcc 
46-           - free-threading 
4743        llvm :
4844          - 19 
4945        include :
5046#           - target: i686-pc-windows-msvc/msvc
5147#             architecture: Win32
5248#             runner: windows-latest
53-           - target : x86_64-pc-windows-msvc/msvc 
54-             architecture : x64 
55-             runner : windows-latest 
5649#           - target: aarch64-pc-windows-msvc/msvc
5750#             architecture: ARM64
5851#             runner: windows-latest
6255          - target : aarch64-apple-darwin/clang 
6356            architecture : aarch64 
6457            runner : macos-14 
65-           - target : x86_64-unknown-linux-gnu/gcc 
66-             architecture : x86_64 
67-             runner : ubuntu-24.04 
68-           - target : aarch64-unknown-linux-gnu/gcc 
69-             architecture : aarch64 
70-             runner : ubuntu-24.04-arm 
71-           - target : free-threading 
72-             architecture : x86_64 
73-             runner : ubuntu-24.04 
58+ 
7459    steps :
7560      - uses : actions/checkout@v4 
7661        with :
7964        with :
8065          python-version : ' 3.11' 
8166
82-       - name : Native Windows (debug) 
83-         if : runner.os == 'Windows' && matrix.architecture != 'ARM64' 
84-         shell : cmd 
85-         run : | 
86-           choco install llvm --allow-downgrade --no-progress --version ${{ matrix.llvm }}.1.5 
87-           set PlatformToolset=clangcl 
88-           set LLVMToolsVersion=${{ matrix.llvm }}.1.5 
89-           set LLVMInstallDir=C:\Program Files\LLVM 
90-           call ./PCbuild/build.bat --tail-call-interp -d -p ${{ matrix.architecture }} 
91-           call ./PCbuild/rt.bat -d -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3 
92- 
93- #  No tests (yet):
94-       - name : Emulated Windows (release) 
95-         if : runner.os == 'Windows' && matrix.architecture == 'ARM64' 
96-         shell : cmd 
97-         run : | 
98-           choco install llvm --allow-downgrade --no-progress --version ${{ matrix.llvm }}.1.5 
99-           set PlatformToolset=clangcl 
100-           set LLVMToolsVersion=${{ matrix.llvm }}.1.5 
101-           set LLVMInstallDir=C:\Program Files\LLVM 
102-           ./PCbuild/build.bat --tail-call-interp -p ${{ matrix.architecture }} 
103- 
10467        #  The `find` line is required as a result of https://github.com/actions/runner-images/issues/9966.
10568        #  This is a bug in the macOS runner image where the pre-installed Python is installed in the same
10669        #  directory as the Homebrew Python, which causes the build to fail for macos-13. This line removes
@@ -110,33 +73,12 @@ jobs:
11073        run : | 
11174          brew update 
11275          find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete 
113-           brew install jq  llvm@${{ matrix.llvm }} 
76+           brew install llvm@${{ matrix.llvm }} 
11477          export SDKROOT="$(xcrun --show-sdk-path)" 
11578          export PATH="/opt/homebrew/opt/llvm/bin:$PATH" 
79+           export PATH="/opt/homebrew/opt/llvm@{{ matrix.llvm }}/bin:$PATH" 
11680          export PATH="/usr/local/opt/llvm@{{ matrix.llvm }}/bin:$PATH" 
11781          export PATH="/usr/local/opt/llvm/bin:$PATH" 
118-           export TMP_LLVM_VERSION="$(curl -s https://formulae.brew.sh/api/formula/llvm@{{ matrix.llvm }}.json | jq -r .versions.stable)" 
119-           export PATH="/usr/local/Cellar/llvm@{{ matrix.llvm }}/${TMP_LLVM_VERSION}/bin:$PATH" 
120-           unset TMP_LLVM_VERSION 
12182          CC=clang-19 ./configure --with-tail-call-interp 
12283          make all --jobs 4 
12384          ./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3 
124- 
125- name : Native Linux (debug) 
126-         if : runner.os == 'Linux' && matrix.target != 'free-threading' 
127-         run : | 
128-           sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }} 
129-           export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH" 
130-           CC=clang-19 ./configure --with-tail-call-interp --with-pydebug 
131-           make all --jobs 4 
132-           ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3 
133- 
134- name : Native Linux with free-threading (release) 
135-         if : matrix.target == 'free-threading' 
136-         run : | 
137-           sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }} 
138-           export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH" 
139-           CC=clang-19 ./configure --with-tail-call-interp --disable-gil 
140-           make all --jobs 4 
141-           ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3 
142- 
0 commit comments