Skip to content

Commit e880ecc

Browse files
committed
ci: ccache should create symlinks so it is used
during the change over to apple silicon, our ccache stopped actually being used during compilation, "no objects cached" brew paths are different between intel and apple silicon, so the old path addition we made was no longer correct it is possible to just ask the action to make symlinks for us, now we take advantage of that feature and /usr/local/bin has the links so they're in the path
1 parent 97decbf commit e880ecc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/tests_e2e_ios.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
name: Xcode Compile Cache
8080
with:
8181
key: ${{ runner.os }}-v2 # makes a unique key w/related restore key internally
82+
create-symlink: true
8283
max-size: 1500M
8384

8485
- name: Yarn Install
@@ -138,7 +139,6 @@ jobs:
138139

139140
- name: Build iOS App
140141
run: |
141-
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
142142
export CCACHE_SLOPPINESS=clang_index_store,file_stat_matches,include_file_ctime,include_file_mtime,ivfsoverlay,pch_defines,modules,system_headers,time_macros
143143
export CCACHE_FILECLONE=true
144144
export CCACHE_DEPEND=true
@@ -148,6 +148,8 @@ jobs:
148148
export SKIP_BUNDLING=1
149149
export RCT_NO_LAUNCH_PACKAGER=1
150150
set -o pipefail
151+
echo $PATH
152+
which clang
151153
yarn tests:ios:build
152154
ccache -s
153155
shell: bash

0 commit comments

Comments
 (0)