CI: use ccache for default build jobs
These are built repeatedly, often with no changes in source code
This commit is contained in:
parent
004f6706a1
commit
18fd8e29a1
6
.github/workflows/macos_build.yml
vendored
6
.github/workflows/macos_build.yml
vendored
@ -25,7 +25,11 @@ jobs:
|
||||
# ... but in the repo, we want to test pyenv builds on macOS
|
||||
- run: |
|
||||
brew install openssl readline sqlite3 xz zlib
|
||||
# https://github.com/pyenv/pyenv#installation
|
||||
- name: Ccache for gh actions
|
||||
uses: hendrikmuhs/ccache-action@v1.2.17
|
||||
with:
|
||||
key: ${{ github.job }}-${{ matrix.python-version}}
|
||||
# https://github.com/pyenv/pyenv#installation
|
||||
- run: pwd
|
||||
- env:
|
||||
PYENV_ROOT: /Users/runner/work/pyenv/pyenv
|
||||
|
6
.github/workflows/ubuntu_build.yml
vendored
6
.github/workflows/ubuntu_build.yml
vendored
@ -27,7 +27,11 @@ jobs:
|
||||
sudo apt-get update -q; sudo apt install -yq make build-essential libssl-dev zlib1g-dev \
|
||||
libbz2-dev libreadline-dev libsqlite3-dev curl \
|
||||
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
|
||||
# https://github.com/pyenv/pyenv#installation
|
||||
- name: Ccache for gh actions
|
||||
uses: hendrikmuhs/ccache-action@v1.2.17
|
||||
with:
|
||||
key: ${{ github.job }}-${{ matrix.python-version}}
|
||||
# https://github.com/pyenv/pyenv#installation
|
||||
- run: pwd
|
||||
- env:
|
||||
PYENV_ROOT: /home/runner/work/pyenv/pyenv
|
||||
|
Loading…
x
Reference in New Issue
Block a user