Skip to content

Commit

Permalink
BraveNewPipe: all flavors are build on push
Browse files Browse the repository at this point in the history
use 'bravify' 'assembleBrave*Debug' as standalone gradle runs
Before running assembleBraveDebug combined with the test stuff.
  • Loading branch information
evermind-zz committed Mar 10, 2024
1 parent c79feb7 commit 0b8dd27
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b8dd27

Please sign in to comment.