From 121f628f6b618988a90e4de42b70690261bb1c34 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Tue, 24 Nov 2020 09:31:25 -0700 Subject: [PATCH] [Test] Add CXX and CC configuration --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8187200ac..1df8eb133 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -72,6 +72,8 @@ jobs: # and build directories, but this is only available with CMake 3.13 and higher. # The CMake binaries on the Github Actions machines are (as of this writing) 3.12 run: | + export CC = ${{ matrix.config.cc }} + export CXX = ${{ matrix.config.cxx }} cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache - name: Build