Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DNM] Run builds for benchmark #3511

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
67 changes: 19 additions & 48 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,57 +13,28 @@ steps:
# Wait for Gradle Wrapper to be validated before running any other jobs
- wait

- group: "Linters"
- group: "📲 Prototype Builds"
steps:
- label: "☢️ Danger - PR Check"
command: danger
key: danger
if: "build.pull_request.id != null"
retry:
manual:
permit_on_passed: true
agents:
queue: "linter"
- label: ":android: No CC Build"
command: |
echo "--- :rubygems: Setting up Gems"
install_gems

- label: 'Lint'
command: ".buildkite/commands/lint.sh"
plugins: [$CI_TOOLKIT]
artifact_paths:
- "**/build/reports/lint-results*.*"

- label: 'Unit tests'
command: ".buildkite/commands/run-unit-tests.sh"
plugins: [$CI_TOOLKIT]

- label: 'Dependency diff'
if: build.pull_request.id != null
command: comment_with_dependency_diff 'app' 'releaseRuntimeClasspath'
plugins: [$CI_TOOLKIT]
artifact_paths:
- "**/build/reports/diff/*"
echo "--- :closed_lock_with_key: Installing Secrets"
bundle exec fastlane run configure_apply

- label: 'Spotless formatting check'
command: |
echo "--- 🔎 Checking formatting with Spotless"
./gradlew spotlessCheck
plugins: [$CI_TOOLKIT]
echo "--- :android: Building without configuration cache"
./gradlew assembleDebug --no-configuration-cache --no-build-cache
plugins: [$CI_TOOLKIT]

- label: "Instrumented tests"
command: ".buildkite/commands/run-instrumented-tests.sh"
plugins: [$CI_TOOLKIT]
artifact_paths:
- "**/build/instrumented-tests/**/*"
- label: ":android: CC Build"
command: |
echo "--- :rubygems: Setting up Gems"
install_gems

- label: "Assemble release APK"
command: ".buildkite/commands/assemble-release-apk.sh"
plugins: [ $CI_TOOLKIT ]
artifact_paths:
- "**/build/outputs/apk/**/*"
echo "--- :closed_lock_with_key: Installing Secrets"
bundle exec fastlane run configure_apply

- label: "Prototype Builds"
if: "build.pull_request.id != null"
command: |
".buildkite/commands/prototype-build.sh"
plugins: [ $CI_TOOLKIT ]
artifact_paths:
- "**/build/outputs/apk/**/*"
echo "--- :android: Building without configuration cache"
./gradlew assembleDebug --no-build-cache
plugins: [$CI_TOOLKIT]