Skip to content

Commit

Permalink
try using CC instead of -D
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-edward committed Dec 31, 2024
1 parent b10e753 commit 36eb085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: test

env:
CC: ccache clang
CXX: ccache clang++
DOWNLOAD_CACHE_VERSION: 8

on:
Expand Down Expand Up @@ -61,8 +63,6 @@ jobs:
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-D CMAKE_C_COMPILER_LAUNCHER=ccache
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache
-S ${{ github.workspace }}
- name: Build
Expand Down

0 comments on commit 36eb085

Please sign in to comment.