From c11801fcd82478b47992f6aadef5b1975219630e Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Sat, 18 Apr 2026 18:51:00 -0300 Subject: [PATCH] CI: v17 - Build ONLY botserver, not entire workspace - Only build -p botserver (not botui, botlib separately) - Initialize only required submodules (botlib, botserver) - Much faster, focused build --- .forgejo/workflows/botserver-v2.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.forgejo/workflows/botserver-v2.yaml b/.forgejo/workflows/botserver-v2.yaml index f674f7a4..3c3f9b4f 100644 --- a/.forgejo/workflows/botserver-v2.yaml +++ b/.forgejo/workflows/botserver-v2.yaml @@ -1,5 +1,5 @@ -# HASH-BUSTER-20260418-CONTAINER-v16 -# Dev machine approach: /opt/gbo/work/botserver +# HASH-BUSTER-20260418-CONTAINER-v17 +# Only build botserver (not entire workspace) # Pre-installed globally: Rust, Node.js, Python, sccache name: BotServer CI/CD @@ -28,18 +28,15 @@ jobs: rm -rf .github grep -v "github" .gitmodules > .gitmodules.tmp || true mv .gitmodules.tmp .gitmodules - # Initialize all submodules - git submodule update --init --recursive + # Initialize only required submodules + git submodule update --init --recursive botlib botserver - - name: Build + - name: Build BotServer Only run: | - echo "=== Build ===" + echo "=== Build BotServer ===" cd /opt/gbo/work/botserver cargo build -p botserver - cargo build -p botui - cargo build -p botlib ls -lh target/debug/botserver - ls -lh target/debug/botui - name: Deploy run: |