1313 - ' cpp/**'
1414 - ' nitrogen/**'
1515 - ' src/**'
16+ - ' packages/react-native-quick-crypto/android/**'
1617 push :
1718 branches : [main]
1819 paths :
1920 - ' example/**'
2021 - ' cpp/**'
2122 - ' nitrogen/**'
2223 - ' src/**'
24+ - ' packages/react-native-quick-crypto/android/**'
2325
2426jobs :
2527 e2e-tests-android :
6062 distribution : ' corretto'
6163 java-version : ' 17'
6264
65+ - name : Install System Dependencies
66+ run : |
67+ sudo apt-get update
68+ sudo apt-get install -y libssl-dev pkg-config
69+
70+ - name : Setup Android SDK
71+ uses : android-actions/setup-android@v3
72+
73+ - name : Install Dependencies
74+ run : bun install
75+
6376 - name : Restore Gradle cache
6477 uses : actions/cache/restore@v5
6578 with :
@@ -70,25 +83,27 @@ jobs:
7083 example/android/build
7184 example/android/app/.cxx
7285 example/android/app/build
86+ packages/react-native-quick-crypto/android/.cxx
87+ packages/react-native-quick-crypto/android/build
88+ node_modules/.bun/react-native-nitro-modules*/node_modules/react-native-nitro-modules/android/.cxx
89+ node_modules/.bun/react-native-nitro-modules*/node_modules/react-native-nitro-modules/android/build
7390 key : ${{ runner.os }}-gradle
7491
75- - name : Install System Dependencies
76- run : |
77- sudo apt-get update
78- sudo apt-get install -y libssl-dev pkg-config
79-
80- - name : Setup Android SDK
81- uses : android-actions/setup-android@v3
82-
83- - name : Install Dependencies
84- run : bun install
85-
8692 - name : Build Android App
8793 working-directory : ./example/android
8894 run : |
8995 echo "Building Android app (x86_64 only)..."
9096 ./gradlew :app:assembleDebug -PreactNativeArchitectures=x86_64 --build-cache > $HOME/output/android-build.log 2>&1
9197
98+ - name : Run Gradle Lint
99+ working-directory : ./example/android
100+ run : ./gradlew :react-native-quick-crypto:lintDebug -PreactNativeArchitectures=x86_64
101+
102+ - name : Parse Gradle Lint Report
103+ uses : yutailang0119/action-android-lint@v4
104+ with :
105+ report-path : packages/react-native-quick-crypto/android/build/reports/lint-results-debug.xml
106+
92107 - name : Install Maestro CLI
93108 run : |
94109 export MAESTRO_VERSION=2.0.10
@@ -172,6 +187,10 @@ jobs:
172187 example/android/build
173188 example/android/app/.cxx
174189 example/android/app/build
190+ packages/react-native-quick-crypto/android/.cxx
191+ packages/react-native-quick-crypto/android/build
192+ node_modules/.bun/react-native-nitro-modules*/node_modules/react-native-nitro-modules/android/.cxx
193+ node_modules/.bun/react-native-nitro-modules*/node_modules/react-native-nitro-modules/android/build
175194 key : ${{ runner.os }}-gradle
176195
177196 - name : Exit with Test Result
0 commit comments