Skip to content

Commit

Permalink
ci: ccache should create symlinks so it is used
Browse files Browse the repository at this point in the history
I believe during the change over to apple silicon, our ccache stopped
actually being used during compilation, "no objects cached"
  • Loading branch information
mikehardy committed May 19, 2024
1 parent 06a2e0f commit 577a52f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests_e2e_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
name: Xcode Compile Cache
with:
key: ${{ runner.os }}-v2 # makes a unique key w/related restore key internally
create-symlink: true
max-size: 1500M

- name: Yarn Install
Expand Down Expand Up @@ -138,7 +139,6 @@ jobs:

- name: Build iOS App
run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
export CCACHE_SLOPPINESS=clang_index_store,file_stat_matches,include_file_ctime,include_file_mtime,ivfsoverlay,pch_defines,modules,system_headers,time_macros
export CCACHE_FILECLONE=true
export CCACHE_DEPEND=true
Expand All @@ -148,6 +148,8 @@ jobs:
export SKIP_BUNDLING=1
export RCT_NO_LAUNCH_PACKAGER=1
set -o pipefail
echo $PATH
which clang
yarn tests:ios:build
ccache -s
shell: bash
Expand Down Expand Up @@ -186,7 +188,6 @@ jobs:
timeout-minutes: 50
# The ps command will just give us a hint on what Simulator is running
run: |
ps -ef | grep -i backboard
yarn tests:ios:test-cover
- name: Stop App Video
Expand Down

0 comments on commit 577a52f

Please sign in to comment.