CI: Explicitly set the ccache compiler check
This is needed to allow using clang plugins during PR workflows. They currently are not included because they resulted in a clean build on each run. With this, they should be cached.
This commit is contained in:
parent
c5153cb398
commit
ac62982ee2
1 changed files with 6 additions and 0 deletions
6
.github/workflows/lagom-template.yml
vendored
6
.github/workflows/lagom-template.yml
vendored
|
|
@ -29,6 +29,12 @@ env:
|
|||
VCPKG_ROOT: ${{ github.workspace }}/Toolchain/Tarballs/vcpkg
|
||||
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
|
||||
|
||||
# Use the compiler version for the ccache compiler hash. Otherwise, if plugins are enabled, the plugin .so files
|
||||
# are included in the hash. This results in clean builds on every run as the .so files are rebuilt.
|
||||
#
|
||||
# Note: This only works because our plugins do not transform any code. If that becomes untrue, we must revisit this.
|
||||
CCACHE_COMPILERCHECK: "%compiler% -v"
|
||||
|
||||
jobs:
|
||||
CI:
|
||||
runs-on: ${{ inputs.os }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue