mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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:
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_ROOT: ${{ github.workspace }}/Toolchain/Tarballs/vcpkg
|
||||||
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
|
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:
|
jobs:
|
||||||
CI:
|
CI:
|
||||||
runs-on: ${{ inputs.os }}
|
runs-on: ${{ inputs.os }}
|
||||||
|
|||||||
Reference in New Issue
Block a user