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/
|
- name: Install node_modules for example/
|
||||||
run: yarn install --frozen-lockfile --cwd ..
|
run: yarn install --frozen-lockfile --cwd ..
|
||||||
|
|
||||||
|
- name: Restore buildcache
|
||||||
|
uses: mikehardy/buildcache-action@v1
|
||||||
|
|
||||||
- name: Setup Ruby (bundle)
|
- name: Setup Ruby (bundle)
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
@ -61,6 +64,8 @@ jobs:
|
|||||||
run: bundle exec pod check || bundle exec pod install
|
run: bundle exec pod check || bundle exec pod install
|
||||||
- name: Build App
|
- name: Build App
|
||||||
run: "xcodebuild \
|
run: "xcodebuild \
|
||||||
|
CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ \
|
||||||
|
-derivedDataPath ios/build -UseModernBuildSystem=YES \
|
||||||
-workspace VisionCameraExample.xcworkspace \
|
-workspace VisionCameraExample.xcworkspace \
|
||||||
-scheme VisionCameraExample \
|
-scheme VisionCameraExample \
|
||||||
-sdk iphonesimulator \
|
-sdk iphonesimulator \
|
||||||
|
Loading…
Reference in New Issue
Block a user