-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (37 loc) · 996 Bytes
/
build.yml
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
name: Build
on: [push, pull_request]
jobs:
build-ios:
name: build-ios
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install modules
run: yarn
- name: Install pods
run: cd ios && pod install
- name: Build
run: cd ios && xcodebuild -workspace reactNativeApp.xcworkspace -configuration Debug -scheme reactNativeApp -arch x86_64
build-android:
name: build-android
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Install modules
run: yarn
- name: Build
run: cd android && ./gradlew assembleDebug
build-web:
name: build-web
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install modules
run: yarn
- name: Build
run: yarn web:build