perf: optimize CI build with mold linker and sccache stability
Some checks failed
BotServer CI / build (push) Has been cancelled

This commit is contained in:
Rodrigo Rodriguez 2026-04-30 19:25:50 -03:00
parent 675d88db2a
commit bacd8fbd58

View file

@ -16,6 +16,8 @@ jobs:
runs-on: gbo
env:
RUSTC_WRAPPER: sccache
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-C link-arg=-fuse-ld=mold"
PATH: "/home/gbuser/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/sbin:/bin"
steps:
- name: Setup
@ -35,6 +37,7 @@ jobs:
run: |
cd /opt/gbo/work/generalbots
rustup default stable
sccache --start-server || true
export RUSTC_WRAPPER=sccache
echo "=== sccache stats before build ==="
sccache --show-stats 2>/dev/null || echo "sccache not available"