Skip to content

Commit

Permalink
feat: replace buildcache with ccache
Browse files Browse the repository at this point in the history
  • Loading branch information
limpbrains committed Jan 11, 2024
1 parent 990faff commit 0d38e98
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/e2e-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,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
Expand Down
8 changes: 5 additions & 3 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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

0 comments on commit 0d38e98

Please sign in to comment.