From bc712053335642d4ca7fb81a8ecb625634bcd9fb Mon Sep 17 00:00:00 2001 From: Edward Wang Date: Tue, 31 Dec 2024 13:04:50 -0500 Subject: [PATCH] Revert "try using CC instead of -D" This reverts commit 36eb08509e57867b5fe843c80acef0b96d7f3b3e. --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3c1fd7d..45557d5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,8 +1,6 @@ name: test env: - CC: ccache clang - CXX: ccache clang++ DOWNLOAD_CACHE_VERSION: 8 on: @@ -63,6 +61,8 @@ 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