Skip to content

Commit

Permalink
ci: Set ccache consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-lunarg committed Aug 28, 2023
1 parent a626368 commit 6ac5fcb
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ on:

env:
CMAKE_GENERATOR: Ninja
CMAKE_C_COMPILER_LAUNCHER: ccache
CMAKE_CXX_COMPILER_LAUNCHER: ccache

permissions:
contents: read
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6ac5fcb

Please sign in to comment.