Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,26 @@ name: CI
on:
push:
branches: [master]
paths-ignore: ['apple-tv/**']
pull_request:
paths-ignore: ['apple-tv/**']
# release.yml runs the same gates before it builds; it skips the debug
# assemble because it builds a release APK right after.
workflow_call:
inputs:
skip_assemble:
type: boolean
default: false

# A new push to a branch makes the run already in flight worthless, and these
# jobs are not short — the Gradle ones were measured at five to six minutes.
# Without this, pushing three times in ten minutes queues three full builds and
# waits for all of them.
#
# github.workflow is the caller's name when release.yml calls this, so a push
# to master cannot cancel the tests a release is waiting on.
concurrency:
group: ci-${{ github.ref }}
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
Expand Down Expand Up @@ -93,6 +105,7 @@ jobs:

build:
name: Assemble debug
if: ${{ !inputs.skip_assemble }}
runs-on: ubuntu-latest
timeout-minutes: 35
steps:
Expand Down
Loading
Loading