Skip to content

Commit

Permalink
also build foss flavor for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
gechoto authored Jan 5, 2025
1 parent f75f321 commit d50c019
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,26 @@ jobs:
with:
name: app
path: app/build/outputs/apk/full/debug/*.apk

build-foss:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: "zulu"
cache: 'gradle'

- name: Build debug APK and run jvm tests
run: ./gradlew assembleFossDebug lintFossDebug testFossDebugUnitTest --stacktrace -DskipFormatKtlint
env:
PULL_REQUEST: 'true'

- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: app-foss
path: app/build/outputs/apk/foss/debug/*.apk

0 comments on commit d50c019

Please sign in to comment.