fix: Fix CI (#165)
* fix conditional * Build with cache again * Update build-ios.yml * Update build-ios.yml * Build for iPhone 11 Pro * Continue on buildcache restore error * remove emoji * Remove `measureElapsedTime<T>` * Upgrade dependencies * Build with `-quiet` * Use `xcpretty` * set -o
This commit is contained in:
9
.github/workflows/build-ios.yml
vendored
9
.github/workflows/build-ios.yml
vendored
@@ -42,6 +42,7 @@ jobs:
|
||||
|
||||
- name: Restore buildcache
|
||||
uses: mikehardy/buildcache-action@v1
|
||||
continue-on-error: true
|
||||
|
||||
- name: Setup Ruby (bundle)
|
||||
uses: ruby/setup-ruby@v1
|
||||
@@ -62,14 +63,16 @@ jobs:
|
||||
${{ runner.os }}-pods-
|
||||
- name: Install Pods
|
||||
run: bundle exec pod check || bundle exec pod install
|
||||
- name: Install xcpretty
|
||||
run: gem install xcpretty
|
||||
- name: Build App
|
||||
run: "xcodebuild \
|
||||
run: "set -o pipefail && xcodebuild \
|
||||
CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ \
|
||||
-derivedDataPath build -UseModernBuildSystem=YES \
|
||||
-workspace VisionCameraExample.xcworkspace \
|
||||
-scheme VisionCameraExample \
|
||||
-sdk iphonesimulator \
|
||||
-configuration Debug \
|
||||
-destination \"generic/platform=iOS Simulator\" \
|
||||
-destination 'platform=iOS Simulator,name=iPhone 11 Pro' \
|
||||
build \
|
||||
CODE_SIGNING_ALLOWED=NO"
|
||||
CODE_SIGNING_ALLOWED=NO | xcpretty"
|
||||
|
Reference in New Issue
Block a user