devops: Use buildcache for iOS builds (#131)
* Use buildcache for iOS builds from https://github.com/mikehardy/buildcache-action * Update build-ios.yml * Update build-ios.yml * Specify compiler options to make buildcache work * Update build-ios.yml
This commit is contained in:
parent
c3ff25de41
commit
9f956a6f2f
5
.github/workflows/build-ios.yml
vendored
5
.github/workflows/build-ios.yml
vendored
@ -40,6 +40,9 @@ jobs:
|
||||
- name: Install node_modules for example/
|
||||
run: yarn install --frozen-lockfile --cwd ..
|
||||
|
||||
- name: Restore buildcache
|
||||
uses: mikehardy/buildcache-action@v1
|
||||
|
||||
- name: Setup Ruby (bundle)
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
@ -61,6 +64,8 @@ jobs:
|
||||
run: bundle exec pod check || bundle exec pod install
|
||||
- name: Build App
|
||||
run: "xcodebuild \
|
||||
CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ \
|
||||
-derivedDataPath ios/build -UseModernBuildSystem=YES \
|
||||
-workspace VisionCameraExample.xcworkspace \
|
||||
-scheme VisionCameraExample \
|
||||
-sdk iphonesimulator \
|
||||
|
Loading…
Reference in New Issue
Block a user