Skip to content

Commit 0be481b

Browse files
committed
Combine Linux steps into one
1 parent c81873c commit 0be481b

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/tail-call.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,16 @@ 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
77+
configure_flags: --disable-gil
7678
free_threading: true
7779
- target: aarch64-unknown-linux-gnu/gcc
7880
architecture: aarch64
7981
runner: ubuntu-24.04-arm
82+
configure_flags: --with-pydebug
8083
steps:
8184
- uses: actions/checkout@v6
8285
with:
@@ -124,20 +127,11 @@ jobs:
124127
make all --jobs 4
125128
./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
126129
127-
- name: Native Linux (debug)
128-
if: runner.os == 'Linux' && !matrix.free_threading
130+
- name: Native Linux
131+
if: runner.os == 'Linux'
129132
run: |
130133
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
131134
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
132-
CC=clang-${{ matrix.llvm }} ./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
138-
run: |
139-
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
140-
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
141-
CC=clang-${{ matrix.llvm }} ./configure --with-tail-call-interp --disable-gil
135+
CC=clang-${{ matrix.llvm }} ./configure --with-tail-call-interp ${{ matrix.configure_flags }}
142136
make all --jobs 4
143137
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3

0 commit comments

Comments
 (0)