mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-25 16:57:51 +02:00
Change vcpkg caching
Only cache vcpkg executable Add vcpkg bootstrap logs to artifact upload Signed-off-by: Emily Mabrey <emabrey@tenacityaudio.org>
This commit is contained in:
parent
af65fdb977
commit
032a52dac1
18
.github/workflows/cmake_build.yml
vendored
18
.github/workflows/cmake_build.yml
vendored
@ -247,18 +247,12 @@ jobs:
|
|||||||
iwr -useb get.scoop.sh | iex
|
iwr -useb get.scoop.sh | iex
|
||||||
scoop install sccache
|
scoop install sccache
|
||||||
|
|
||||||
# Cache the vcpkg cache and the vcpkg executable to avoid bootstrapping each time
|
# Cache the vcpkg executable to avoid bootstrapping each time
|
||||||
- name: Setup vcpkg cache
|
- name: "Setup vcpkg executable cache"
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: ${{ github.workspace }}/vcpkg/vcpkg${{ env.EXE_SUFFIX }}
|
||||||
${{ github.workspace }}/vcpkg/vcpkg${{ env.EXE_SUFFIX }}
|
key: ${{ matrix.config.id }}-${{ env.VCPKG_COMMIT }}
|
||||||
${{ env.VCPKG_CACHE_PATH }}
|
|
||||||
key: ${{ matrix.config.id }}-${{ hashFiles('**/vcpkg.json') }}-${{ env.VCPKG_COMMIT }}-${{ github.run_number }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ matrix.config.id }}-${{ hashFiles(' **/vcpkg.json') }}-${{ env.VCPKG_COMMIT }}-
|
|
||||||
${{ matrix.config.id }}-${{ hashFiles(' **/vcpkg.json') }}-
|
|
||||||
${{ matrix.config.id }}-
|
|
||||||
|
|
||||||
- name: "[Linux/macOS] Set up wxWidgets cache"
|
- name: "[Linux/macOS] Set up wxWidgets cache"
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
@ -329,5 +323,7 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
name: vcpkg-logs-${{ runner.os }}
|
name: vcpkg-logs-${{ runner.os }}
|
||||||
path: ${{ github.workspace }}/vcpkg/buildtrees/**/*.log
|
path: |
|
||||||
|
${{ github.workspace }}/vcpkg/buildtrees/**/*.log
|
||||||
|
${{ github.workspace }}/build/vcpkg-bootstrap.log
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
Loading…
x
Reference in New Issue
Block a user