Skip to content

Commit 96aa6b0

Browse files
committed
Split into install/build/test steps
1 parent 776df0f commit 96aa6b0

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/tail-call.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,14 @@ jobs:
4848
- uses: actions/setup-python@v6
4949
with:
5050
python-version: '3.11'
51-
- name: Build and test
51+
- name: Build
5252
shell: pwsh
5353
run: |
5454
$env:PlatformToolset = "v145"
5555
./PCbuild/build.bat --tail-call-interp ${{ matrix.build_flags }} -c Release -p ${{ matrix.architecture }}
56+
- name: Test
57+
shell: pwsh
58+
run: |
5659
if ("${{ matrix.run_tests }}" -eq "true") {
5760
./PCbuild/rt.bat -p ${{ matrix.architecture }} -q --multiprocess 0 --timeout 4500 --verbose2 --verbose3
5861
}
@@ -76,15 +79,19 @@ jobs:
7679
- uses: actions/setup-python@v6
7780
with:
7881
python-version: '3.11'
79-
- name: Build and test
82+
- name: Install dependencies
8083
run: |
8184
brew update
8285
brew install llvm@${{ env.LLVM_VERSION }}
86+
- name: Build
87+
run: |
8388
export SDKROOT="$(xcrun --show-sdk-path)"
8489
export PATH="/usr/local/opt/llvm@${{ env.LLVM_VERSION }}/bin:$PATH"
8590
export PATH="/opt/homebrew/opt/llvm@${{ env.LLVM_VERSION }}/bin:$PATH"
8691
CC=clang-${{ env.LLVM_VERSION }} ./configure --with-tail-call-interp
8792
make all --jobs 4
93+
- name: Test
94+
run: |
8895
./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
8996
9097
linux:
@@ -111,10 +118,12 @@ jobs:
111118
- uses: actions/setup-python@v6
112119
with:
113120
python-version: '3.11'
114-
- name: Build and test
121+
- name: Build
115122
run: |
116123
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ env.LLVM_VERSION }}
117124
export PATH="$(llvm-config-${{ env.LLVM_VERSION }} --bindir):$PATH"
118125
CC=clang-${{ env.LLVM_VERSION }} ./configure --with-tail-call-interp ${{ matrix.configure_flags }}
119126
make all --jobs 4
127+
- name: Test
128+
run: |
120129
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3

0 commit comments

Comments
 (0)