mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-24 16:40:21 +00:00
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
Notes:
github-actions[bot]
2024-08-27 23:25:40 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/ac62982ee2a Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1207
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