Skip to content

Commit c81886b

Browse files
Merge pull request #16 from hugovk/3.15-refactor-tailcall-yml-combine-windows
Combine Windows steps into one
2 parents 98b39fa + 37a355b commit c81886b

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

.github/workflows/tail-call.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,13 @@ jobs:
5454
- target: x86_64-pc-windows-msvc/msvc
5555
architecture: x64
5656
runner: windows-2025-vs2026
57+
build_flags: ""
58+
run_tests: true
5759
- target: x86_64-pc-windows-msvc/msvc-free-threading
5860
architecture: x64
5961
runner: windows-2025-vs2026
60-
free_threading: true
62+
build_flags: --disable-gil
63+
run_tests: false
6164
# - target: aarch64-pc-windows-msvc/msvc
6265
# architecture: ARM64
6366
# runner: windows-2022
@@ -88,20 +91,14 @@ jobs:
8891
python-version: '3.11'
8992

9093
- name: Native Windows MSVC (release)
91-
if: runner.os == 'Windows' && matrix.architecture != 'ARM64' && !matrix.free_threading
94+
if: runner.os == 'Windows' && matrix.architecture != 'ARM64'
9295
shell: pwsh
9396
run: |
9497
$env:PlatformToolset = "v145"
95-
./PCbuild/build.bat --tail-call-interp -c Release -p ${{ matrix.architecture }}
96-
./PCbuild/rt.bat -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3
97-
98-
# No tests:
99-
- name: Native Windows MSVC with free-threading (release)
100-
if: runner.os == 'Windows' && matrix.free_threading
101-
shell: pwsh
102-
run: |
103-
$env:PlatformToolset = "v145"
104-
./PCbuild/build.bat --tail-call-interp --disable-gil -c Release -p ${{ matrix.architecture }}
98+
./PCbuild/build.bat --tail-call-interp ${{ matrix.build_flags }} -c Release -p ${{ matrix.architecture }}
99+
if ("${{ matrix.run_tests }}" -eq "true") {
100+
./PCbuild/rt.bat -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3
101+
}
105102
106103
# No tests (yet):
107104
- name: Emulated Windows Clang (release)

0 commit comments

Comments
 (0)