-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
53 lines (44 loc) · 1.41 KB
/
ios-build.yml
File metadata and controls
53 lines (44 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Test iOS build
on:
pull_request:
paths:
- .github/workflows/ios-build.yml
- packages/react-native-gesture-handler/RNGestureHandler.podspec
- packages/react-native-gesture-handler/apple/**
- apps/basic-example/ios/**
push:
branches:
- main
workflow_dispatch:
jobs:
build:
if: github.repository == 'software-mansion/react-native-gesture-handler'
runs-on: macos-14
strategy:
matrix:
working-directory: [apps/basic-example, apps/expo-example]
concurrency:
group: ios-${{ matrix.working-directory }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: checkout
uses: actions/checkout@v4
- name: Use latest stable Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.1'
- name: Use Node.js 24
uses: actions/setup-node@v6
with:
node-version: 24
cache: yarn
- name: Install node dependencies
working-directory: ${{ matrix.working-directory }}
run: yarn install --immutable
- name: Install pods
if: ${{ matrix.working-directory == 'apps/basic-example' }}
working-directory: ${{ matrix.working-directory }}/ios
run: bundle install && NO_FLIPPER=1 bundle exec pod install
- name: Build app
working-directory: ${{ matrix.working-directory }}
run: npx react-native run-ios