Skip to content

chore: fixed and upgraded project setup and ci #61

chore: fixed and upgraded project setup and ci

chore: fixed and upgraded project setup and ci #61

Workflow file for this run

name: Build iOS App
on:
pull_request:
paths:
- ".github/workflows/build-ios.yml"
- "ios/**"
- "*.podspec"
- "example/ios/**"
jobs:
build:
name: Build iOS Example App
runs-on: macOS-latest
defaults:
run:
working-directory: example/ios
steps:
- uses: actions/checkout@v4
- name: Enable corepack and set yarn to latest stable
shell: bash
run: |
corepack enable
yarn set version stable
- name: Setup
uses: ./.github/actions/setup
- name: Setup Ruby (bundle)
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.4
bundler-cache: true
cache-version: 1
working-directory: example/ios
- name: Restore Pods cache
uses: actions/cache@v4
with:
path: |
example/ios/Pods
~/Library/Caches/CocoaPods
~/.cocoapods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Install Pods
run: |
yarn pods
- name: Build App
run: "xcodebuild \
-workspace CompressorExample.xcworkspace \
-scheme CompressorExample \
-sdk iphonesimulator \
-configuration Debug \
-destination \"generic/platform=iOS Simulator\" \
build \
CODE_SIGNING_ALLOWED=NO"