diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 12c08b9c90..8a8dc8cac8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,14 +53,32 @@ jobs: distribution: "temurin" cache: 'gradle' - - name: Build debug APK and run jvm tests - run: ./gradlew bravify assembleDebug lintBraveDebug testBraveDebugUnitTest --stacktrace -DskipFormatKtlint + - name: Rename strings from NewPipe to BraveNewPipe + run: ./gradlew bravify + + - name: Build brave flavor + run: ./gradlew assembleBraveDebug + + - name: Build braveConscrypt flavor + run: ./gradlew assembleBraveConscryptDebug + + - name: Prepare for building braveKitkat flavor + run: ./gradlew prepareKitkatFlavor + + - name: Build braveKitkat flavor + run: ./gradlew assembleBraveKitkatDebug + + - name: Unprepare for building braveKitkat flavor + run: ./gradlew unPrepareKitkatFlavor - name: Upload APK uses: actions/upload-artifact@v3 with: name: app - path: app/build/outputs/apk/brave/debug/*.apk + path: app/build/outputs/apk/brave*/debug/*.apk + + - name: Build debug APK and run jvm tests + run: ./gradlew assembleBraveDebug lintBraveDebug testBraveDebugUnitTest --stacktrace -DskipFormatKtlint test-android: # macos has hardware acceleration. See android-emulator-runner action