File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,12 +71,14 @@ jobs:
7171
7272 - name : Detox build (android.emu.release)
7373 env :
74+ DETOX_ANDROID_ARCHS : x86_64
7475 DETOX_AVD_NAME : api34
7576 run : cd Example/e2etest && E2E_PLATFORM=android bunx detox build --configuration android.emu.release
7677
7778 - name : Detox test (android.emu.release)
7879 uses : reactivecircus/android-emulator-runner@v2
7980 env :
81+ DETOX_ANDROID_ARCHS : x86_64
8082 RNU_CLI_ROOT : ${{ github.workspace }}/react-native-update-cli
8183 DETOX_AVD_NAME : api34
8284 with :
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ concurrency:
1414
1515jobs :
1616 e2e-ios :
17- runs-on : macos-26-arm64
17+ runs-on : macos-26
1818 timeout-minutes : 30
1919 steps :
2020 - name : Checkout react-native-update
4747 - name : Setup Xcode
4848 uses : maxim-lobanov/setup-xcode@v1
4949 with :
50- xcode-version : ' 26.5 '
50+ xcode-version : ' 26.4 '
5151
5252 - name : Install applesimutils
5353 run : HOMEBREW_NO_AUTO_UPDATE=1 brew tap wix/brew && HOMEBREW_NO_AUTO_UPDATE=1 brew install applesimutils
Original file line number Diff line number Diff line change @@ -80,6 +80,9 @@ function detectAndroidAvdName() {
8080const iosSimulatorType = detectIosSimulatorType ( ) ;
8181const androidAvdName = detectAndroidAvdName ( ) ;
8282const iosSimulatorArch = process . arch === 'arm64' ? 'arm64' : 'x86_64' ;
83+ const androidArchitectures = process . env . DETOX_ANDROID_ARCHS
84+ ? ` -PreactNativeArchitectures=${ process . env . DETOX_ANDROID_ARCHS } `
85+ : '' ;
8386const iosBuildBase =
8487 'xcodebuild -workspace ios/AwesomeProject.xcworkspace -UseNewBuildSystem=NO -scheme AwesomeProject -sdk iphonesimulator -destination "generic/platform=iOS Simulator" -derivedDataPath ios/build' ;
8588
@@ -118,15 +121,15 @@ const config = {
118121 type : 'android.apk' ,
119122 binaryPath : 'android/app/build/outputs/apk/debug/app-debug.apk' ,
120123 build :
121- ' cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug' ,
124+ ` cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug${ androidArchitectures } ` ,
122125 start : 'scripts/start-rn.sh android' ,
123126 reversePorts : [ 8081 ] ,
124127 } ,
125128 'android.release' : {
126129 type : 'android.apk' ,
127130 binaryPath : 'android/app/build/outputs/apk/release/app-release.apk' ,
128131 build :
129- ' cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release' ,
132+ ` cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release${ androidArchitectures } ` ,
130133 } ,
131134 } ,
132135 devices : {
You can’t perform that action at this time.
0 commit comments