diff --git a/.github/workflows/swift-toolchain.yml b/.github/workflows/swift-toolchain.yml index aef46969e..d793b6d25 100644 --- a/.github/workflows/swift-toolchain.yml +++ b/.github/workflows/swift-toolchain.yml @@ -569,6 +569,9 @@ jobs: arch: ${{ matrix.arch }} - name: Setup sccache + # TODO: Android ICU builds are constitently failing due to https://github.com/mozilla/sccache/issues/2092 + # On GitHub and non-GitHub runner images. Reenable once this issue is resolved. + if: matrix.os != 'Android' uses: hendrikmuhs/ccache-action@2e0e89e8d74340a03f75d58d02aae4c5ee1b15c6 with: max-size: 100M @@ -590,10 +593,10 @@ jobs: -D BUILD_DATA=${{ matrix.BUILD_DATA }} ` -D CMAKE_BUILD_TYPE=Release ` -D CMAKE_C_COMPILER=${{ matrix.cc }} ` - -D CMAKE_C_COMPILER_LAUNCHER=sccache ` + -D CMAKE_C_COMPILER_LAUNCHER=${{ matrix.os == 'Windows' && 'sccache' || '' }} ` -D CMAKE_C_FLAGS="${{ matrix.cflags }}" ` -D CMAKE_CXX_COMPILER=${{ matrix.cxx }} ` - -D CMAKE_CXX_COMPILER_LAUNCHER=sccache ` + -D CMAKE_CXX_COMPILER_LAUNCHER=${{ matrix.os == 'Windows' && 'sccache' || '' }} ` -D CMAKE_CXX_FLAGS="${{ matrix.cxxflags }}" ` -D CMAKE_MT=mt ` -D CMAKE_INSTALL_PREFIX=${{ github.workspace }}/BuildRoot/Library/icu-69.1/usr `