Skip to content

Commit

Permalink
Is it using an incompatible cache?
Browse files Browse the repository at this point in the history
  • Loading branch information
Dextinfire committed Sep 8, 2024
1 parent 4e04b0c commit 26d98a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
include:
- os: windows-latest
os_name: windows
triplet: x64-windows-dynamic
triplet: x64-windows-release
- os: ubuntu-latest
os_name: linux
triplet: x64-linux-dynamic
Expand All @@ -38,6 +38,7 @@ jobs:
env:
VCPKG_DEFAULT_TRIPLET: ${{ matrix.triplet }}
VCPKG_HOST_TRIPLET: ${{ matrix.triplet }}
VCPKG_BINARY_SOURCES: "clear"
vcpkgCommitId: '0f88ecb8528605f91980b90a2c5bad88e3cb565f'

steps:
Expand All @@ -46,7 +47,7 @@ jobs:
- name: Cache LibAtrac9
uses: actions/cache@v3
with:
key: libatrac9
key: libatrac9 | ${{ runner.os }}
path: vendor/LibAtrac9

- uses: lukka/get-cmake@latest
Expand Down
3 changes: 2 additions & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"installDir": "release/${presetName}",
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
"CMAKE_BUILD_TYPE": "Release",
"VCPKG_BUILD_TYPE": "release"
}
}
],
Expand Down

0 comments on commit 26d98a9

Please sign in to comment.