Skip to content

Commit a614edb

Browse files
committed
Use self-hosted nodes with ccache
1 parent 723d2e5 commit a614edb

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/python_wheel_build.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ on:
1515

1616
jobs:
1717
python_wheel:
18-
runs-on: ubuntu-latest
18+
runs-on:
19+
- self-hosted
20+
- linux
21+
- x64
1922
env:
2023
WORKDIR: /home/runner/work/root
2124
steps:
@@ -24,20 +27,27 @@ jobs:
2427
with:
2528
ref: ${{ inputs.branch }}
2629

30+
- name: Set up Python
31+
uses: actions/setup-python@v5
32+
2733
- name: Install Kerberos utilities
2834
run: sudo apt-get install -y krb5-user
2935

3036
- name: Install XRootD client
3137
run: sudo apt-get -y install xrootd-client
3238

39+
- name: Configure large ccache
40+
if: ${{ matrix.is_special }}
41+
run: |
42+
ccache -o max_size=5G
43+
ccache -p || true
44+
ccache -s || true
45+
3346
- name: Build wheels
3447
uses: pypa/[email protected]
3548
with:
3649
output-dir: ${{ env.WORKDIR }}/wheelhouse
3750

38-
- name: Set up Python
39-
uses: actions/setup-python@v5
40-
4151
- name: Create PEP503-compliant wheel registry
4252
run: |
4353
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)