Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,31 @@ jobs:
bundler-cache: true
working-directory: ./package/example

- name: Restore Pods cache
uses: actions/cache@v4
with:
path: ./package/example/ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-

- name: Pod install
run: pwd && bundle exec pod install
working-directory: ./package/example/ios

- name: Build iOS
run: yes | npx react-native build-ios --mode Debug
- name: Install xcpretty
run: gem install xcpretty
working-directory: ./package/example

- name: Build iOS
working-directory: ./package/example/ios
run: "set -o pipefail && xcodebuild \
CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ \
-derivedDataPath build -UseModernBuildSystem=YES \
-workspace SkiaSkottieExample.xcworkspace \
-scheme SkiaSkottieExample \
-sdk iphonesimulator \
-configuration Debug \
-destination 'platform=iOS Simulator,name=iPhone 15 Pro Max' \
build \
CODE_SIGNING_ALLOWED=NO | xcpretty"