chore: native build ci #2
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
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: 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 ../.. |