Skip to content

Commit 5c3dafb

Browse files
committed
[GitHub] FIX pybind11 cache
1 parent 63d7a0e commit 5c3dafb

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/macos.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,17 @@ jobs:
5555
path: /tmp/pybind11
5656
key: pybind11_${{ env.GIT_BRANCH }}_${{ matrix.os }}_${{ hashFiles('.github/workflows/*.yml') }}
5757

58-
- name: Build and install pybind11
58+
- name: Build pybind11
5959
if: steps.pybind11_cache.outputs.cache-hit != 'true'
6060
run: |
6161
git clone -b v2.4.3 --depth 1 https://github.com/pybind/pybind11.git /tmp/pybind11
6262
cd /tmp/pybind11
6363
cmake -DCMAKE_BUILD_TYPE=Release -DPYBIND11_TEST=OFF -DPYTHON_EXECUTABLE=$(which python3.7) .
64+
make --silent
65+
66+
- name: Install pybind11
67+
run: |
68+
cd /tmp/pybind11
6469
sudo make --silent install
6570
6671
- name: Download and install the latest SOFA ${{ matrix.sofa_branch }} binaries

.github/workflows/ubuntu.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,17 @@ jobs:
5555
path: /tmp/pybind11
5656
key: pybind11_${{ env.GIT_BRANCH }}_${{ matrix.os }}_${{ hashFiles('.github/workflows/*.yml') }}
5757

58-
- name: Build and install pybind11
58+
- name: Build pybind11
5959
if: steps.pybind11_cache.outputs.cache-hit != 'true'
6060
run: |
6161
git clone -b v2.4.3 --depth 1 https://github.com/pybind/pybind11.git /tmp/pybind11
6262
cd /tmp/pybind11
6363
cmake -DCMAKE_BUILD_TYPE=Release -DPYBIND11_TEST=OFF -DPYTHON_EXECUTABLE=$(which python3.7) .
64+
make --silent
65+
66+
- name: Install pybind11
67+
run: |
68+
cd /tmp/pybind11
6469
sudo make --silent install
6570
6671
- name: Download and install the latest SOFA ${{ matrix.sofa_branch }} binaries

0 commit comments

Comments
 (0)