mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 23:21:59 +01:00
Add :app:assembleNightly to the CI Gradle invocation so the R8 minify, resource shrinking and packaging path is exercised on every PR (signed with the committed debug key, so no secrets are needed).
32 lines
781 B
YAML
32 lines
781 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ci-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-26.04
|
|
timeout-minutes: 90
|
|
permissions:
|
|
contents: read
|
|
env:
|
|
GRADLE_OPTS: -Dorg.gradle.daemon=false
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
persist-credentials: false
|
|
- uses: ./.github/actions/build
|
|
with:
|
|
gradle-args: ":app:ktlintCheck :app:lintDebug :app:testDebugUnitTest :app:assembleNightly --no-configuration-cache --console=plain --no-daemon"
|
|
- uses: actions/cache@v6
|
|
with:
|
|
path: .integration/music
|
|
key: integration-music-v1
|
|
- run: nix develop .#integration --command nu tools/integration-test.nu
|