Skip to content

Commit

Permalink
Disable sccache when building Android ICU
Browse files Browse the repository at this point in the history
  • Loading branch information
kendal committed Jul 1, 2024
1 parent 9b64bb5 commit e80892f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/swift-toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 `
Expand Down

0 comments on commit e80892f

Please sign in to comment.