mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 18:08:52 +00:00
Merge pull request #7780
bb633d3
Workflows: depends cache (static) separated from ccache (volatile) (mj-xmr)
This commit is contained in:
commit
a8dc9490b5
22
.github/workflows/depends.yml
vendored
22
.github/workflows/depends.yml
vendored
@ -45,15 +45,29 @@ jobs:
|
|||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
# Most volatile cache
|
||||||
- name: ccache
|
- name: ccache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: ~/.ccache
|
||||||
~/.ccache
|
|
||||||
contrib/depends/built
|
|
||||||
contrib/depends/sdk-sources
|
|
||||||
key: ccache-${{ matrix.toolchain.host }}-${{ github.sha }}
|
key: ccache-${{ matrix.toolchain.host }}-${{ github.sha }}
|
||||||
restore-keys: ccache-${{ matrix.toolchain.host }}-
|
restore-keys: ccache-${{ matrix.toolchain.host }}-
|
||||||
|
# Less volatile cache
|
||||||
|
- name: depends cache
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: contrib/depends/built
|
||||||
|
key: depends-${{ matrix.toolchain.host }}-${{ hashFiles('contrib/depends/packages/*') }}
|
||||||
|
restore-keys: |
|
||||||
|
depends-${{ matrix.toolchain.host }}-${{ hashFiles('contrib/depends/packages/*') }}
|
||||||
|
depends-${{ matrix.toolchain.host }}-
|
||||||
|
# Static cache
|
||||||
|
- name: OSX SDK cache
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: contrib/depends/sdk-sources
|
||||||
|
key: sdk-${{ matrix.toolchain.host }}-${{ matrix.toolchain.osx_sdk }}
|
||||||
|
restore-keys: sdk-${{ matrix.toolchain.host }}-${{ matrix.toolchain.osx_sdk }}
|
||||||
- name: set apt conf
|
- name: set apt conf
|
||||||
run: |
|
run: |
|
||||||
echo "Acquire::Retries \"3\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom
|
echo "Acquire::Retries \"3\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom
|
||||||
|
Loading…
Reference in New Issue
Block a user