Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbfb authored May 23, 2024
1 parent 27f04f8 commit 611b75c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ jobs:
&& adb shell am start com.facebook.react.uiapp/.RNTesterActivity
&& timeout 30s adb logcat -e "Using Hermes: true" -m 1
test-e2e-intl:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
container:
image: reactnativecommunity/react-native-android:latest
env:
Expand All @@ -533,6 +533,11 @@ jobs:
- uses: actions/[email protected]
with:
path: hermes
- name: Enable KVM for accelerated simulation
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Setup dependencies
run: |-
(yes | sdkmanager "cmake;3.22.1" --verbose) || true
Expand All @@ -545,8 +550,11 @@ jobs:
cmake -S hermes -B ./build -DCMAKE_BUILD_TYPE=Release
cmake --build ./build -j 4 --target hermesc
- name: Run android tests
uses: ReactiveCircus/[email protected]
working-directory: hermes/android
run: ./gradlew :intltest:prepareTests && ./gradlew -Pabis=x86 :intltest:connectedAndroidTest
with:
api-level: 29
script: ./gradlew :intltest:prepareTests && ./gradlew -Pabis=x86 :intltest:connectedAndroidTest
test-macos-test262:
runs-on: macos-latest
steps:
Expand Down

0 comments on commit 611b75c

Please sign in to comment.