@@ -70,13 +70,15 @@ jobs:
7070 - target : x86_64-unknown-linux-gnu/gcc
7171 architecture : x86_64
7272 runner : ubuntu-24.04
73+ configure_flags : --with-pydebug
7374 - target : x86_64-unknown-linux-gnu/gcc-free-threading
7475 architecture : x86_64
7576 runner : ubuntu-24.04
76- free_threading : true
77+ configure_flags : --disable-gil
7778 - target : aarch64-unknown-linux-gnu/gcc
7879 architecture : aarch64
7980 runner : ubuntu-24.04-arm
81+ configure_flags : --with-pydebug
8082 steps :
8183 - uses : actions/checkout@v6
8284 with :
@@ -120,24 +122,15 @@ jobs:
120122 export SDKROOT="$(xcrun --show-sdk-path)"
121123 export PATH="/usr/local/opt/llvm@${{ matrix.llvm }}/bin:$PATH"
122124 export PATH="/opt/homebrew/opt/llvm@${{ matrix.llvm }}/bin:$PATH"
123- CC=clang-20 ./configure --with-tail-call-interp
125+ CC=clang-${{ matrix.llvm }} ./configure --with-tail-call-interp
124126 make all --jobs 4
125127 ./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
126128
127- - name : Native Linux (debug)
128- if : runner.os == 'Linux' && !matrix.free_threading
129- run : |
130- sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
131- export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
132- CC=clang-20 ./configure --with-tail-call-interp --with-pydebug
133- make all --jobs 4
134- ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
135-
136- - name : Native Linux with free-threading (release)
137- if : runner.os == 'Linux' && matrix.free_threading
129+ - name : Native Linux
130+ if : runner.os == 'Linux'
138131 run : |
139132 sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
140133 export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
141- CC=clang-20 . /configure --with-tail-call-interp --disable-gil
134+ CC=clang-${{ matrix.llvm }} . /configure --with-tail-call-interp ${{ matrix.configure_flags }}
142135 make all --jobs 4
143136 ./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
0 commit comments