forked from software-mansion/react-native-reanimated
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (30 loc) · 977 Bytes
/
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
name: Test V8 on Android nightly
on:
pull_request:
paths:
- .github/workflows/build-v8-nightly.yml
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@v3
with:
path: 'reanimated_repo'
- name: Create React Native app
run: npx react-native init app
- name: Install 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