From 1010732f011b30f0dc61800ab67feb5ce5294d90 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Tue, 31 Mar 2026 15:21:37 -0300 Subject: [PATCH] fix(ci): Remove internet-dependent rust/sccache installation steps - alm-ci has Rust and tools pre-installed offline - Remove sccache/cargo cache environment variables - Remove sccache server startup and cache directory creation --- .forgejo/workflows/botui.yaml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.forgejo/workflows/botui.yaml b/.forgejo/workflows/botui.yaml index 567a512..60a2f17 100644 --- a/.forgejo/workflows/botui.yaml +++ b/.forgejo/workflows/botui.yaml @@ -9,9 +9,6 @@ on: env: CARGO_BUILD_JOBS: 6 CARGO_NET_RETRY: 10 - SCCACHE_DIR: /opt/gbo/cache/sccache - RUSTC_WRAPPER: sccache - CARGO_HOME: /opt/gbo/cache/cargo jobs: build: @@ -33,8 +30,6 @@ jobs: - name: Setup Workspace run: | mkdir -p /opt/gbo/ci/botui - mkdir -p $SCCACHE_DIR - mkdir -p $CARGO_HOME/registry # Clone the main gb repository git clone --depth 1 --branch main https://alm.pragmatismo.com.br/GeneralBots/gb.git /opt/gbo/ci/botui/workspace cd /opt/gbo/ci/botui/workspace @@ -53,16 +48,6 @@ jobs: sed -i '/"botplugin",/d' Cargo.toml sed -i '/"bottemplates",/d' Cargo.toml - - name: Setup PATH for globally installed tools - run: | - echo "$HOME/.cargo/bin" >> $GITHUB_PATH - echo "/usr/local/bin" >> $GITHUB_PATH - - - name: Start sccache server - run: | - sccache --start-server || true - sccache --show-stats || true - - name: Install system dependencies run: | sudo apt-get update @@ -76,7 +61,6 @@ jobs: run: | cargo build --release -p botui --features embed-ui -j 8 2>&1 | tee /tmp/build.log ls -lh target/release/botui - sccache --show-stats || true - name: Save build log if: always()