Update CMakeLists.txt and V8Inspector for React Native 0.73 compatibility #243
Workflow file for this run
This file contains 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: E2E tests on bare React Native Android project | |
on: | |
push: | |
branches: [main, '*-stable'] | |
paths: | |
- .github/workflows/android.yml | |
- android/** | |
- src/v8runtime/** | |
- package.json | |
- yarn.lock | |
pull_request: | |
paths: | |
- .github/workflows/android.yml | |
- android/** | |
- src/v8runtime/** | |
- package.json | |
- yarn.lock | |
jobs: | |
e2e-test: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
rn-version: ['0.72', '0.71'] | |
v8-android-variant: | |
[v8-android-jit, v8-android-jit-nointl, v8-android, v8-android-nointl] | |
# include: | |
# - rn-version: '0.69' | |
# v8-android-variant: v8-android-jit | |
# - rn-version: '0.68' | |
# v8-android-variant: v8-android-jit | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- name: Restore yarn caches | |
uses: actions/cache@v2 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-workspace-modules-${{ hashFiles('yarn.lock') }} | |
- name: Yarn install | |
run: yarn install --frozen-lockfile | |
- name: Run tests | |
uses: reactivecircus/android-emulator-runner@v2 | |
with: | |
api-level: 33 | |
arch: x86_64 | |
target: google_apis_playstore | |
script: | | |
adb logcat -c | |
python3 scripts/gen_project.py --rn-version ${{ matrix.rn-version }} --v8-android-variant ${{ matrix.v8-android-variant }} TestApp | |
sleep 20 | |
adb logcat -d > TestApp/adb.log | |
grep -E "=== V8 version\[.+\] ===" TestApp/adb.log > /dev/null | |
- name: Upload failed artifacts | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: artifacts-${{ matrix.rn-version }}-${{ matrix.v8-android-variant }} | |
path: | | |
TestApp/android/app/build/outputs/apk/release/app-release.apk | |
TestApp/adb.log |