diff --git a/.github/workflows/_android.yml b/.github/workflows/_android.yml index a38ed4527e9..d2e82449c3c 100644 --- a/.github/workflows/_android.yml +++ b/.github/workflows/_android.yml @@ -22,6 +22,10 @@ jobs: script: | set -eux + # Use sccache for NDK compiler as well + export CMAKE_CXX_COMPILER_LAUNCHER=sccache + export CMAKE_C_COMPILER_LAUNCHER=sccache + # The generic Linux job chooses to use base env, not the one setup by the image CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") conda activate "${CONDA_ENV}" diff --git a/.github/workflows/android-perf.yml b/.github/workflows/android-perf.yml index 931bdbfe22d..8a74ac51a0c 100644 --- a/.github/workflows/android-perf.yml +++ b/.github/workflows/android-perf.yml @@ -353,6 +353,10 @@ jobs: script: | set -eux + # Use sccache for NDK compiler as well + export CMAKE_CXX_COMPILER_LAUNCHER=sccache + export CMAKE_C_COMPILER_LAUNCHER=sccache + # The generic Linux job chooses to use base env, not the one setup by the image CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") conda activate "${CONDA_ENV}" diff --git a/.github/workflows/android-release-artifacts.yml b/.github/workflows/android-release-artifacts.yml index e40b53a148b..a6d1f0a10ef 100644 --- a/.github/workflows/android-release-artifacts.yml +++ b/.github/workflows/android-release-artifacts.yml @@ -59,6 +59,10 @@ jobs: script: | set -eux + # Use sccache for NDK compiler as well + export CMAKE_CXX_COMPILER_LAUNCHER=sccache + export CMAKE_C_COMPILER_LAUNCHER=sccache + # The generic Linux job chooses to use base env, not the one setup by the image CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") conda activate "${CONDA_ENV}"