1616 fail-fast : false
1717 matrix :
1818 framework : [react-native]
19- framework-version : [
20- # uncomment to enable
19+ framework-version :
20+ [
2121 { formatted: latest, value: latest },
22+ { formatted: 078, value: 0.78 },
2223 { formatted: 077, value: 0.77 },
2324 { formatted: 076, value: 0.76 },
2425 { formatted: 075, value: 0.75 },
3839 exclude :
3940 - build-tool : expo
4041 platform : ios
42+ - build-tool : expo
43+ platform : android
44+ framework-version : { formatted: '078', value: '0.78' }
4145 - build-tool : expo
4246 platform : android
4347 framework-version : { formatted: '077', value: '0.77' }
@@ -64,17 +68,17 @@ jobs:
6468 # https://stackoverflow.com/questions/63463373/create-an-expo-project-with-a-specific-version
6569 # Only include officially supported Expo SDK versions: https://docs.expo.dev/versions/latest/
6670 - framework : react-native
67- framework-version : { formatted: 073 , value: '0.73 ' }
71+ framework-version : { formatted: 077 , value: '0.77 ' }
6872 build-tool : expo
69- build-tool-version : 50
73+ build-tool-version : 52
7074 platform : android
7175 pkg-manager : npm
7276 node-version : 20
7377 logfile : test.log
7478 - framework : react-native
75- framework-version : { formatted: 074 , value: '0.74 ' }
79+ framework-version : { formatted: 076 , value: '0.76 ' }
7680 build-tool : expo
77- build-tool-version : 51
81+ build-tool-version : 52
7882 platform : android
7983 pkg-manager : npm
8084 node-version : 20
@@ -88,17 +92,17 @@ jobs:
8892 node-version : 20
8993 logfile : test.log
9094 - framework : react-native
91- framework-version : { formatted: 076 , value: '0.76 ' }
95+ framework-version : { formatted: 074 , value: '0.74 ' }
9296 build-tool : expo
93- build-tool-version : 52
97+ build-tool-version : 51
9498 platform : android
9599 pkg-manager : npm
96100 node-version : 20
97101 logfile : test.log
98102 - framework : react-native
99- framework-version : { formatted: 077 , value: '0.77 ' }
103+ framework-version : { formatted: 073 , value: '0.73 ' }
100104 build-tool : expo
101- build-tool-version : 52
105+ build-tool-version : 50
102106 platform : android
103107 pkg-manager : npm
104108 node-version : 20
@@ -130,6 +134,7 @@ jobs:
130134 restore-keys : pods-${{ hashFiles('examples/react-native/ios/Podfile.lock') }}
131135 env :
132136 SEGMENT_DOWNLOAD_TIMEOUT_MINS : 1
137+
133138 - name : Restore node_modules cache
134139 if : ${{ matrix.platform == 'ios' }}
135140 uses : actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 https://github.com/actions/cache/commit/1bd1e32a3bdc45362d1e726936510720a7c30a57
@@ -141,6 +146,7 @@ jobs:
141146 key : ${{ runner.os }}-nodemodules
142147 env :
143148 SEGMENT_DOWNLOAD_TIMEOUT_MINS : 3
149+
144150 - name : Install Java 17
145151 if : ${{ matrix.platform == 'android' }}
146152 uses : actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc # 3.6.0
@@ -158,6 +164,7 @@ jobs:
158164 echo "ruby --version"
159165 ruby --version
160166 continue-on-error : true # brew overwrite step addresses a python install issue: https://github.com/actions/runner-images/issues/8500
167+
161168 - name : Update CocoaPods
162169 if : ${{ matrix.platform == 'ios' }}
163170 run : |
@@ -169,16 +176,13 @@ jobs:
169176 run : |
170177 echo -e "echo \$ANDROID_HOME"
171178 echo $ANDROID_HOME
172- $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install 'build-tools;33.0.2' platform-tools
173- echo "y" | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "system-images;android-27;default;x86_64"
174- echo "no" | $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd --force --name Pixel_5_API_27 --device "pixel_5" --abi x86_64 --package "system-images;android-27;default;x86_64"
175- printf 'hw.cpu.ncore=2\n' >> ~/.android/avd/Pixel_5_API_27.avd/config.ini
176- printf 'hw.ramSize=2048\n' >> ~/.android/avd/Pixel_5_API_27.avd/config.ini
177- printf 'hw.heapSize=576\n' >> ~/.android/avd/Pixel_5_API_27.avd/config.ini
179+ $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --install "build-tools;33.0.2" "platform-tools" "system-images;android-27;default;x86_64"
180+ $ANDROID_HOME/cmdline-tools/latest/bin/avdmanager create avd --name Pixel_5_API_27 --force --device "pixel_5" --abi x86_64 --package "system-images;android-27;default;x86_64"
181+
178182 - name : Start Android emulator
179183 if : ${{ matrix.platform == 'android' }}
180184 run : |
181- nohup $ANDROID_HOME/emulator/emulator -avd Pixel_5_API_27 -port ${{ env.EMULATOR_PORT }} -no-boot-anim -no-audio -no-snapshot-load -gpu host -accel on &
185+ $ANDROID_HOME/emulator/emulator -avd Pixel_5_API_27 -port ${{ env.EMULATOR_PORT }} -no-boot-anim -no-audio -no-snapshot-load -gpu host -accel on &
182186 $ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed | tr -d '\r') ]]; do sleep 1; done; input keyevent 82'
183187 $ANDROID_HOME/platform-tools/adb devices
184188 # disable spell checker
@@ -192,6 +196,7 @@ jobs:
192196 run : npm run setup:${{matrix.framework}}:${{matrix.build-tool}} -- --name ${{ env.MEGA_APP_NAME }} --platform ${{matrix.platform}} --tag ${{inputs.dist-tag}} --framework-version ${{matrix.framework-version.value}} --build-tool-version ${{matrix.build-tool-version}}
193197 shell : bash
194198 working-directory : build-system-tests
199+
195200 - name : Detect Mega App Error in Log
196201 run : npm run checkReactNativeLogs -- --log-file-name ${{ matrix.logfile }} --mega-app-name ${{ env.MEGA_APP_NAME }} --platform ${{ matrix.platform }}
197202 shell : bash
0 commit comments