Skip to content

Commit

Permalink
Reintroduce ccache and symlink to speed up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Cal-L committed Sep 26, 2024
1 parent 046e364 commit 93319b5
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -585,13 +585,13 @@ workflows:
inputs:
- ndk_version: $NDK_VERSION
- gradlew_path: $PROJECT_LOCATION/gradlew
# - script@1:
# title: Install CCache & symlink
# inputs:
# - content: |-
# #!/usr/bin/env bash
# sudo apt update
# sudo apt install ccache -y
- script@1:
title: Install CCache & symlink
inputs:
- content: |-
#!/usr/bin/env bash
sudo apt update
sudo apt install ccache -y
# - restore-cache@2:
# title: Restore CCache
# inputs:
Expand Down Expand Up @@ -828,18 +828,18 @@ workflows:
envman add --key BREW_OPT_APPLESIMUTILS --value "/usr/local/opt/applesimutils"
brew tap wix/brew
title: Set Env Path for caching deps
# - script@1:
# title: Install CCache & symlink
# inputs:
# - content: |-
# #!/usr/bin/env bash
# brew install ccache with HOMEBREW_NO_DEPENDENTS_CHECK=1
# ln -s $(which ccache) /usr/local/bin/gcc
# ln -s $(which ccache) /usr/local/bin/g++
# ln -s $(which ccache) /usr/local/bin/cc
# ln -s $(which ccache) /usr/local/bin/c++
# ln -s $(which ccache) /usr/local/bin/clang
# ln -s $(which ccache) /usr/local/bin/clang++
- script@1:
title: Install CCache & symlink
inputs:
- content: |-
#!/usr/bin/env bash
brew install ccache with HOMEBREW_NO_DEPENDENTS_CHECK=1
ln -s $(which ccache) /usr/local/bin/gcc
ln -s $(which ccache) /usr/local/bin/g++
ln -s $(which ccache) /usr/local/bin/cc
ln -s $(which ccache) /usr/local/bin/c++
ln -s $(which ccache) /usr/local/bin/clang
ln -s $(which ccache) /usr/local/bin/clang++
# - restore-cache@2:
# title: Restore CCache
# inputs:
Expand Down

0 comments on commit 93319b5

Please sign in to comment.