diff --git a/.github/actions/reanimated-compatibility-check-build/action.yml b/.github/actions/reanimated-compatibility-check-build/action.yml index 34a145786fbd..843bb31f2ec8 100644 --- a/.github/actions/reanimated-compatibility-check-build/action.yml +++ b/.github/actions/reanimated-compatibility-check-build/action.yml @@ -46,10 +46,12 @@ runs: working-directory: ${{ inputs.app-name }} shell: bash run: yarn add "react-native-worklets@https://github.com/software-mansion/react-native-reanimated.git#workspace=react-native-worklets&commit=${{ github.sha }}" - - name: Select Xcode (iOS) + - name: Setup Ruby (iOS) if: ${{ inputs.platform == 'iOS' }} - shell: bash - run: sudo xcode-select --switch /Applications/Xcode_16.4.app + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.3' # Not needed with a `.ruby-version` or `.tool-versions` + bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Install Pods (iOS) if: ${{ inputs.platform == 'iOS' }} working-directory: ${{ inputs.app-name }}/ios diff --git a/.github/workflows/example-ios-build-check.yml b/.github/workflows/example-ios-build-check.yml index 5599b44f37d0..6768075a954c 100644 --- a/.github/workflows/example-ios-build-check.yml +++ b/.github/workflows/example-ios-build-check.yml @@ -42,7 +42,7 @@ on: jobs: example-ios-build-check: if: github.repository == 'software-mansion/react-native-reanimated' - runs-on: macos-15 + runs-on: macos-26 env: WORKING_DIRECTORY: apps/fabric-example REANIMATED_DIR: packages/react-native-reanimated @@ -57,9 +57,6 @@ jobs: ruby-version: '3.3' # Not needed with a `.ruby-version` or `.tool-versions` bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - name: Select Xcode - run: sudo xcode-select --switch /Applications/Xcode_16.4.app - - name: Install monorepo node dependencies run: yarn install --immutable - name: Toggle Bundle Mode diff --git a/.github/workflows/example-macos-build-check.yml b/.github/workflows/example-macos-build-check.yml index 4415915e59c1..c826a3c00468 100644 --- a/.github/workflows/example-macos-build-check.yml +++ b/.github/workflows/example-macos-build-check.yml @@ -37,7 +37,7 @@ on: jobs: example-macos-build-check: if: github.repository == 'software-mansion/react-native-reanimated' - runs-on: macos-15 + runs-on: macos-26 env: WORKING_DIRECTORY: apps/macos-example REANIMATED_DIR: packages/react-native-reanimated @@ -52,9 +52,6 @@ jobs: ruby-version: '3.3' # Not needed with a `.ruby-version` or `.tool-versions` bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - name: Select Xcode - run: sudo xcode-select --switch /Applications/Xcode_16.4.app - # TODO: Add caching for node_modules and artifacts that will work with monorepo setup. - name: Install monorepo node dependencies run: yarn install --immutable diff --git a/.github/workflows/example-tvos-build-check.yml b/.github/workflows/example-tvos-build-check.yml index 04acd398c5a6..ecf927ed0a8b 100644 --- a/.github/workflows/example-tvos-build-check.yml +++ b/.github/workflows/example-tvos-build-check.yml @@ -37,7 +37,7 @@ on: jobs: example-tvos-build-check: if: github.repository == 'software-mansion/react-native-reanimated' - runs-on: macos-15 + runs-on: macos-26 env: WORKING_DIRECTORY: apps/tvos-example REANIMATED_DIR: packages/react-native-reanimated @@ -52,9 +52,6 @@ jobs: ruby-version: '3.3' # Not needed with a `.ruby-version` or `.tool-versions` bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - name: Select Xcode - run: sudo xcode-select --switch /Applications/Xcode_16.4.app - - name: Install monorepo node dependencies run: yarn install --immutable - name: Build Reanimated package diff --git a/.github/workflows/expo-devclient-build-check-nightly.yml b/.github/workflows/expo-devclient-build-check-nightly.yml index 8b9df1902d42..529cd483af91 100644 --- a/.github/workflows/expo-devclient-build-check-nightly.yml +++ b/.github/workflows/expo-devclient-build-check-nightly.yml @@ -14,7 +14,7 @@ on: jobs: expo-devclient-build-check-nightly: if: github.repository == 'software-mansion/react-native-reanimated' - runs-on: ${{ matrix.platform == 'iOS' && 'macos-15' || 'ubuntu-latest' }} + runs-on: ${{ matrix.platform == 'iOS' && 'macos-26' || 'ubuntu-latest' }} strategy: matrix: platform: ['iOS', 'Android'] @@ -59,9 +59,6 @@ jobs: - name: Install Worklets working-directory: ${{ env.APP_NAME }} run: npm install react-native-worklets@nightly - - name: Select Xcode (iOS) - if: ${{ matrix.platform == 'iOS' }} - run: sudo xcode-select --switch /Applications/Xcode_16.4.app - name: Expo prebuild working-directory: ${{ env.APP_NAME }} run: npx expo prebuild diff --git a/.github/workflows/react-native-nightly-reanimated-build-check-nightly.yml b/.github/workflows/react-native-nightly-reanimated-build-check-nightly.yml index eb09bc94c47b..f728a68a31da 100644 --- a/.github/workflows/react-native-nightly-reanimated-build-check-nightly.yml +++ b/.github/workflows/react-native-nightly-reanimated-build-check-nightly.yml @@ -13,7 +13,7 @@ on: jobs: react-native-nightly-reanimated-build-check: if: github.repository == 'software-mansion/react-native-reanimated' - runs-on: ${{ matrix.platform == 'iOS' && 'macos-15' || 'ubuntu-latest'}} + runs-on: ${{ matrix.platform == 'iOS' && 'macos-26' || 'ubuntu-latest'}} strategy: matrix: platform: ['iOS', 'Android'] @@ -56,9 +56,11 @@ jobs: - name: Install Worklets working-directory: ${{ env.APP_NAME }} run: yarn add "react-native-worklets@https://github.com/software-mansion/react-native-reanimated.git#workspace=react-native-worklets&commit=${{ github.sha }}" - - name: Select Xcode (iOS) + - uses: ruby/setup-ruby@v1 if: ${{ matrix.platform == 'iOS' }} - run: sudo xcode-select --switch /Applications/Xcode_16.4.app + with: + ruby-version: '3.3' # Not needed with a `.ruby-version` or `.tool-versions` + bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Install Fabric Pods (iOS) if: ${{ matrix.platform == 'iOS' }} working-directory: ${{ env.APP_NAME }}/ios diff --git a/.github/workflows/reanimated-compatibility-check-nightly.yml b/.github/workflows/reanimated-compatibility-check-nightly.yml index bd15c22ab6a2..240f95d0caa5 100644 --- a/.github/workflows/reanimated-compatibility-check-nightly.yml +++ b/.github/workflows/reanimated-compatibility-check-nightly.yml @@ -26,7 +26,7 @@ jobs: reanimated-compatibility-check-nightly: if: ${{github.repository == 'software-mansion/react-native-reanimated' && (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'Check compatibility'))}} - runs-on: ${{matrix.platform == 'iOS' && 'macos-15' || 'ubuntu-latest'}} + runs-on: ${{matrix.platform == 'iOS' && 'macos-26' || 'ubuntu-latest'}} needs: read-compatibility-json strategy: matrix: diff --git a/.github/workflows/use-frameworks-reanimated-build-check-nightly.yml b/.github/workflows/use-frameworks-reanimated-build-check-nightly.yml index a57666b31b23..1fd21ed1fb4a 100644 --- a/.github/workflows/use-frameworks-reanimated-build-check-nightly.yml +++ b/.github/workflows/use-frameworks-reanimated-build-check-nightly.yml @@ -14,7 +14,7 @@ on: jobs: use-frameworks-reanimated-build-check-nightly: if: github.repository == 'software-mansion/react-native-reanimated' - runs-on: macos-15 + runs-on: macos-26 concurrency: group: use-${{matrix.type}}-frameworks-reanimated-build-check-nightly-${{ github.ref }} cancel-in-progress: true @@ -51,8 +51,10 @@ jobs: - name: Install Worklets working-directory: ${{ env.APP_NAME }} run: yarn add "react-native-worklets@https://github.com/software-mansion/react-native-reanimated.git#workspace=react-native-worklets&commit=${{ github.sha }}" - - name: Select Xcode - run: sudo xcode-select --switch /Applications/Xcode_16.4.app + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.3' # Not needed with a `.ruby-version` or `.tool-versions` + bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Install ${{matrix.type}} Pods working-directory: ${{env.APP_NAME}}/ios run: export USE_FRAMEWORKS=${{matrix.type}} && bundle install && bundle exec pod update