fix CI/CD for iOS 26 #4
This file contains hidden or 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: Pre Merge Checks | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - "*" | |
| jobs: | |
| test-android: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Free Disk Space (Ubuntu) | |
| uses: insightsengineering/disk-space-reclaimer@v1 | |
| with: | |
| tools-cache: false | |
| android: false | |
| dotnet: true | |
| haskell: true | |
| large-packages: false | |
| swap-storage: false | |
| docker-images: true | |
| - name: Checkout Repo | |
| uses: actions/checkout@v3 | |
| - name: Setup Java | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: "zulu" | |
| java-version: "17" | |
| - name: Setup Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20.19.4 | |
| - name: Setup Gradle | |
| uses: gradle/gradle-build-action@v2 | |
| - name: Yarn Install | |
| run: yarn install | |
| working-directory: ReproducerApp | |
| - name: Yarn Build Android Debug | |
| run: yarn react-native build-android | |
| working-directory: ReproducerApp | |
| - name: Yarn Build Android Release | |
| run: yarn react-native build-android --mode=Release | |
| working-directory: ReproducerApp | |
| test-ios: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v3 | |
| - name: Setup Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20.19.4 | |
| - name: Setup XCode | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: 16.2.0 | |
| - name: List available simulators | |
| run: xcrun simctl list devices | |
| - name: Yarn Install | |
| run: yarn install | |
| working-directory: ReproducerApp | |
| - name: pod install | |
| run: pod install | |
| working-directory: ReproducerApp/ios | |
| - name: Yarn Build iOS | |
| run: | | |
| cd ios && xcodebuild -workspace ReproducerApp.xcworkspace -scheme ReproducerApp -configuration Debug -sdk iphonesimulator -destination "platform=iOS Simulator,name=iPhone 16,OS=26.0" | |
| working-directory: ReproducerApp |