Skip to content

Merge pull request #255 from klarna/fix-multiple-header-files #5

Merge pull request #255 from klarna/fix-multiple-header-files

Merge pull request #255 from klarna/fix-multiple-header-files #5

Workflow file for this run

name: Test Apps
on:
push:
branches:
- master
pull_request:
branches:
- master
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/TestApp/Gemfile
jobs:
build-testapp-android:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Prepare Android
uses: ./.github/actions/prepare-android
- name: Bundle TestApp JS for Android
run: mkdir TestApp/android/app/src/main/assets && (cd TestApp;yarn bundle:android)
- name: Build TestApp for Android
run: |
yarn run build:android
build-testapp-newarch-android:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Prepare Android
uses: ./.github/actions/prepare-android
- name: Bundle TestApp JS for Android
run: mkdir TestApp/android/app/src/main/assets && (cd TestApp;yarn bundle:android)
- name: Build TestApp for Android
run: |
ORG_GRADLE_PROJECT_newArchEnabled=true yarn run build:android
build-testapp-ios:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Prepare iOS
uses: ./.github/actions/prepare-ios
- name: Install TestApp cocoapods
run: |
(cd TestApp/ios;bundle exec pod install)
- name: Bundle TestApp JS for iOS
run: (cd TestApp;yarn bundle:ios)
- name: Build TestApp for iOS
run: |
yarn run build:ios
build-testapp-newarch-ios:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Prepare iOS
uses: ./.github/actions/prepare-ios
- name: Install TestApp cocoapods
run: |
(cd TestApp/ios;rm Podfile.lock;RCT_NEW_ARCH_ENABLED=1 bundle exec pod install)
- name: Bundle TestApp JS for iOS
run: (cd TestApp;yarn bundle:ios)
- name: Build TestApp for iOS
run: |
yarn run build:ios