Skip to content

Merge pull request #53 from phantom/dan/feplat-5048-fix-fork-ci #111

Merge pull request #53 from phantom/dan/feplat-5048-fix-fork-ci

Merge pull request #53 from phantom/dan/feplat-5048-fix-fork-ci #111

Workflow file for this run

name: iOS
on:
push:
branches:
- master
pull_request:
jobs:
build:
strategy:
matrix:
extraEnv: [FOO=BAR, RCT_NEW_ARCH_ENABLED=1]
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install npm dependencies
run: yarn --frozen-lockfile
- name: Install Pods
run: ${{matrix.extraEnv}} pod install
working-directory: example/ios
# The job builds and never boots the app, so it takes the generic
# simulator destination. Naming one device tied this job to whichever
# simulators the runner image happened to ship, and it broke when
# `iPhone 16` left the image.
- name: Build iOS test app
run: |
xcodebuild -workspace WebviewExample.xcworkspace -scheme ReactTestApp -destination 'generic/platform=iOS Simulator' CODE_SIGNING_ALLOWED=NO COMPILER_INDEX_STORE_ENABLE=NO build
working-directory: example/ios
timeout-minutes: 60