Skip to content

Commit 39ab30a

Browse files
committed
testing ccache on linux
1 parent 2d94283 commit 39ab30a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build_wheels.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: Build wheels on Linux
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424

2525
- name: Set up Python
2626
uses: actions/setup-python@v4
@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/cache@v4
3838
with:
3939
path: ~/.ccache
40-
key: ${{ runner.os }}-ccache-${{ hashFiles('meson.build', 'subprojects/**') }}
40+
key: ${{ runner.os }}-ccache-${{ hashFiles('quaddtype/meson.build', 'quaddtype/subprojects/**', 'quaddtype/numpy_quaddtype/src/**', 'quaddtype/pyproject.toml') }}
4141
restore-keys: ${{ runner.os }}-ccache-
4242

4343
- name: Build wheels
@@ -47,8 +47,6 @@ jobs:
4747
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
4848
CIBW_BUILD_VERBOSITY: "3"
4949
CIBW_BEFORE_ALL: |
50-
yum update -y
51-
yum install -y cmake gcc gcc-c++ make git pkgconfig
5250
yum install -y epel-release
5351
yum install -y ccache cmake gcc gcc-c++ make git pkgconfig
5452
export CCACHE_DIR=/host/home/runner/.ccache

0 commit comments

Comments
 (0)