diff --git a/.github/workflows/e2e-ios.yml b/.github/workflows/e2e-ios.yml index 824c19c30..559e2d79b 100644 --- a/.github/workflows/e2e-ios.yml +++ b/.github/workflows/e2e-ios.yml @@ -6,6 +6,10 @@ env: NO_FLIPPER: 1 E2E_TESTS: 1 # build without transform-remove-console babel plugin DEBUG: 'lnurl* lnurl server' + CCACHE_SLOPPINESS: clang_index_store,file_stat_matches,include_file_ctime,include_file_mtime,ivfsoverlay,pch_defines,modules,system_headers,time_macros + CCACHE_FILECLONE: true + CCACHE_DEPEND: true + CCACHE_INODECACHE: true jobs: e2e: @@ -17,8 +21,16 @@ jobs: with: fetch-depth: 1 - - name: Setup Buildcache - uses: mikehardy/buildcache-action@v2 + - name: Which gcc + run: which gcc + + - name: Ccache + uses: hendrikmuhs/ccache-action@v1.2 + with: + create-symlink: true + + - name: Which gcc + run: which gcc - name: Setup Docker Colima 1 uses: limpbrains/setup-docker-macos-action@e4216b347f8992aa26308d9a0a43216f4386b278 diff --git a/ios/Podfile b/ios/Podfile index 2b5985365..050398f03 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -69,9 +69,9 @@ target 'bitkit' do config[:reactNativePath], :mac_catalyst_enabled => false ) - __apply_Xcode_12_5_M1_post_install_workaround(installer) - # buildcache begin + # ccache begin + # https://reactnative.dev/docs/build-speed#xcode-specific-setup installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings["CC"] = "clang" @@ -80,6 +80,8 @@ target 'bitkit' do config.build_settings["LDPLUSPLUS"] = "clang++" end end - # buildcache end + # ccache end + + __apply_Xcode_12_5_M1_post_install_workaround(installer) end end