Preview expo #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Verification | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build_ios: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- name: Install dependencies | |
run: npm ci | |
- name: Install Cocoapods | |
run: sudo gem install cocoapods | |
- name: Install Pods | |
run: | | |
cd ios | |
pod install | |
- name: Build iOS app | |
run: | | |
cd ios | |
xcodebuild -workspace Papillon.xcworkspace \ | |
-scheme Papillon \ | |
-configuration Release \ | |
-destination generic/platform=iOS \ | |
clean build | |
echo "iOS build completed successfully" | |
build_android: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- name: Install dependencies | |
run: npm ci | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "zulu" | |
java-version: "17" | |
- name: Build Android app | |
run: | | |
cd android | |
./gradlew assembleRelease | |
echo "Android build completed successfully" |