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:
Marc Rousavy 2021-05-05 15:28:14 +02:00 committed by GitHub
parent c3ff25de41
commit 9f956a6f2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 \