summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2023-01-03 08:20:45 +0100
committerStefan Behnel <stefan_ml@behnel.de>2023-01-03 08:20:45 +0100
commitd62806acd53046b506b86c6b7949cc8a989be19c (patch)
tree315b68e001c0e97d0467737884c66c5030f2658f
parentd5593c118856d3eba1eef181e3e0c666ded11f35 (diff)
downloadpython-lxml-d62806acd53046b506b86c6b7949cc8a989be19c.tar.gz
CI: Try to use ccache on macos.
-rw-r--r--.github/workflows/ci.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 959ab41e..bc90308b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -155,9 +155,15 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
+ - name: Install MacOS dependencies
+ if: startsWith(runner.os, 'macos-')
+ run: |
+ brew install automake libtool ccache
+ ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize
+
- name: Cache [ccache]
uses: pat-s/always-upload-cache@v3.0.11
- if: startsWith(runner.os, 'Linux')
+ if: startsWith(runner.os, 'Linux') || startsWith(runner.os, 'macos')
with:
path: ~/.ccache
key: ${{ runner.os }}-ccache${{ matrix.extra_hash }}-${{ matrix.python-version }}-${{ hashFiles('.github/workflows/ci.yml', 'tools/ci-run.sh') }}