diff --git a/.github/workflows/macos-linux-conda.yml b/.github/workflows/macos-linux-conda.yml index 00e349818fb2483970651c39f653367636349c18..9d87ed95f950d568c0700f19e446ceada073ac8a 100644 --- a/.github/workflows/macos-linux-conda.yml +++ b/.github/workflows/macos-linux-conda.yml @@ -97,6 +97,7 @@ jobs: cmake .. \ -G "Ninja" \ -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \ + -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DPYTHON_EXECUTABLE=$(which python3) \ -DGENERATE_PYTHON_STUBS=ON \ -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \ diff --git a/.github/workflows/windows-conda.yml b/.github/workflows/windows-conda.yml index a8869f9e695d83941441c1613ed84115d32ae4db..81a4da77f9d33d2ebc3d3543c946c3c9789c5d1a 100644 --- a/.github/workflows/windows-conda.yml +++ b/.github/workflows/windows-conda.yml @@ -70,6 +70,7 @@ jobs: cmake ^ -G "Ninja" ^ -DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^ + -DCMAKE_CXX_COMPILER_LAUNCHER=ccache ^ -DCMAKE_BUILD_TYPE=Release ^ -DGENERATE_PYTHON_STUBS=ON ^ -DPYTHON_SITELIB=%CONDA_PREFIX%\Lib\site-packages ^