From a48fadf791f2db429f89e1b0d52ed0fa73885df1 Mon Sep 17 00:00:00 2001 From: Juan Ramos Date: Mon, 28 Aug 2023 16:07:05 -0600 Subject: [PATCH] ci: Set ccache consistently --- .github/workflows/ci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7971e01..24090e35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,8 @@ on: env: CMAKE_GENERATOR: Ninja + CMAKE_C_COMPILER_LAUNCHER: ccache + CMAKE_CXX_COMPILER_LAUNCHER: ccache permissions: contents: read @@ -70,8 +72,6 @@ jobs: env: CC: ${{ matrix.compiler.cc }} CXX: ${{ matrix.compiler.cxx }} - CMAKE_C_COMPILER_LAUNCHER: ccache - CMAKE_CXX_COMPILER_LAUNCHER: ccache - name: Verify generated code is up to date run: python scripts/github_ci_check_codegen.py @@ -109,8 +109,6 @@ jobs: run: cmake -S. -B build -D CMAKE_BUILD_TYPE=Release -D BUILD_TESTS=ON -D BUILD_WERROR=ON -D UPDATE_DEPS=ON env: MACOSX_DEPLOYMENT_TARGET: 10.15 - CMAKE_C_COMPILER_LAUNCHER: ccache - CMAKE_CXX_COMPILER_LAUNCHER: ccache - name: Build run: cmake --build build - name: Install @@ -146,9 +144,6 @@ jobs: -D BUILD_TESTS=${{ matrix.build_tests }} \ -D UPDATE_DEPS=ON \ -D BUILD_WERROR=ON - env: - CMAKE_C_COMPILER_LAUNCHER: ccache - CMAKE_CXX_COMPILER_LAUNCHER: ccache - name: Build run: cmake --build build/ - name: Install