-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
42 lines (41 loc) · 1.27 KB
/
build-v8-nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Test V8 on Android nightly
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths:
- .github/workflows/build-v8-nightly.yml
- .github/workflows/helper/configureV8.js
schedule:
- cron: '37 19 * * *'
workflow_dispatch:
jobs:
build:
if: github.repository == 'software-mansion/react-native-reanimated'
runs-on: ubuntu-latest
concurrency:
group: build-v8-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Check out
uses: actions/checkout@v4
with:
path: 'reanimated_repo'
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- name: Create React Native app
run: npx react-native init app
- name: Install dependencies
working-directory: app
run: yarn install
- name: Install test dependencies
working-directory: app
run: yarn add github:software-mansion/react-native-reanimated#${{ github.ref }} react-native-v8 v8-android-jit
- name: Configure V8
run: node reanimated_repo/.github/workflows/helper/configureV8.js
- name: Build Android app
working-directory: app/android
run: ./gradlew assembleDebug --console=plain