-
-
Notifications
You must be signed in to change notification settings - Fork 30
41 lines (36 loc) · 1.04 KB
/
integration-android.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
on:
push:
branches:
- main
pull_request:
name: Android Integration
jobs:
ktlint:
runs-on: ubuntu-latest
name: Kotlin Lint
steps:
- uses: actions/checkout@v4
- uses: touchlab-lab/[email protected]
with:
ktlint_version: 1.3.1
- run: ktlint "packages/react-native/android/src/**/*.kt"
build:
runs-on: ubuntu-latest
name: Build Android
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- run: pnpm install
- name: Build Android (new arch)
run: cd examples/v0.76.1-new-arch/android && ./gradlew assembleDebug --build-cache && cd ../..
- name: Build Android (old arch)
run: cd examples/v0.71.19/android && ./gradlew assembleDebug --build-cache && cd ../..