From 275bde7decc379f9011ab3e4c1ce53cfef096e83 Mon Sep 17 00:00:00 2001 From: Petros Paraskevopoulos Date: Thu, 6 Feb 2025 11:30:12 +0200 Subject: [PATCH] CI: Build with and without cc side-by-side and build cache + restore x10 --- .buildkite/pipeline.yml | 258 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 256 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 022b4778886c..2b8ba3d3276a 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -5,7 +5,7 @@ agents: queue: "android" steps: - - label: "🛠 Assemble with CC [With Restore]" + - label: "1 (JP) - 🛠 Assemble with CC [With Restore]" command: | echo "--- :rubygems: Setting up Gems" install_gems @@ -19,7 +19,135 @@ steps: ./gradlew assembleJetpackJalapenoDebug plugins: [ $CI_TOOLKIT ] - - label: "🛠 Assemble without CC [With Restore]" + - label: "2 (JP) - 🛠 Assemble with CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build with CC [With Restore]" + ./gradlew assembleJetpackJalapenoDebug + plugins: [ $CI_TOOLKIT ] + + - label: "3 (JP) - 🛠 Assemble with CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build with CC [With Restore]" + ./gradlew assembleJetpackJalapenoDebug + plugins: [ $CI_TOOLKIT ] + + - label: "4 (JP) - 🛠 Assemble with CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build with CC [With Restore]" + ./gradlew assembleJetpackJalapenoDebug + plugins: [ $CI_TOOLKIT ] + + - label: "5 (JP) - 🛠 Assemble with CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build with CC [With Restore]" + ./gradlew assembleJetpackJalapenoDebug + plugins: [ $CI_TOOLKIT ] + + - label: "1 (WP) - 🛠 Assemble with CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build with CC [With Restore]" + ./gradlew assembleWordpressJalapenoDebug + plugins: [ $CI_TOOLKIT ] + + - label: "2 (WP) - 🛠 Assemble with CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build with CC [With Restore]" + ./gradlew assembleWordpressJalapenoDebug + plugins: [ $CI_TOOLKIT ] + + - label: "3 (WP) - 🛠 Assemble with CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build with CC [With Restore]" + ./gradlew assembleWordpressJalapenoDebug + plugins: [ $CI_TOOLKIT ] + + - label: "4 (WP) - 🛠 Assemble with CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build with CC [With Restore]" + ./gradlew assembleWordpressJalapenoDebug + plugins: [ $CI_TOOLKIT ] + + - label: "5 (WP) - 🛠 Assemble with CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build with CC [With Restore]" + ./gradlew assembleWordpressJalapenoDebug + plugins: [ $CI_TOOLKIT ] + + # ---------------------------------------------------------------------------------------------- + + - label: "1 (JP) - 🛠 Assemble without CC [With Restore]" command: | echo "--- :rubygems: Setting up Gems" install_gems @@ -32,3 +160,129 @@ steps: echo "--- 🛠 Build without CC [With Restore]" ./gradlew assembleJetpackJalapenoDebug --no-configuration-cache plugins: [ $CI_TOOLKIT ] + + - label: "2 (JP) - 🛠 Assemble without CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build without CC [With Restore]" + ./gradlew assembleJetpackJalapenoDebug --no-configuration-cache + plugins: [ $CI_TOOLKIT ] + + - label: "3 (JP) - 🛠 Assemble without CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build without CC [With Restore]" + ./gradlew assembleJetpackJalapenoDebug --no-configuration-cache + plugins: [ $CI_TOOLKIT ] + + - label: "4 (JP) - 🛠 Assemble without CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build without CC [With Restore]" + ./gradlew assembleJetpackJalapenoDebug --no-configuration-cache + plugins: [ $CI_TOOLKIT ] + + - label: "5 (JP) - 🛠 Assemble without CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build without CC [With Restore]" + ./gradlew assembleJetpackJalapenoDebug --no-configuration-cache + plugins: [ $CI_TOOLKIT ] + + - label: "1 (WP) - 🛠 Assemble without CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build without CC [With Restore]" + ./gradlew assembleWordpressJalapenoDebug --no-configuration-cache + plugins: [ $CI_TOOLKIT ] + + - label: "2 (WP) - 🛠 Assemble without CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build without CC [With Restore]" + ./gradlew assembleWordpressJalapenoDebug --no-configuration-cache + plugins: [ $CI_TOOLKIT ] + + - label: "3 (WP) - 🛠 Assemble without CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build without CC [With Restore]" + ./gradlew assembleWordpressJalapenoDebug --no-configuration-cache + plugins: [ $CI_TOOLKIT ] + + - label: "4 (WP) - 🛠 Assemble without CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build without CC [With Restore]" + ./gradlew assembleWordpressJalapenoDebug --no-configuration-cache + plugins: [ $CI_TOOLKIT ] + + - label: "5 (WP) - 🛠 Assemble without CC [With Restore]" + command: | + echo "--- :rubygems: Setting up Gems" + install_gems + + echo "--- :closed_lock_with_key: Installing Secrets" + bundle exec fastlane run configure_apply + + .buildkite/commands/restore-cache.sh + + echo "--- 🛠 Build without CC [With Restore]" + ./gradlew assembleWordpressJalapenoDebug --no-configuration-cache + plugins: [ $CI_TOOLKIT ]