ci: keep PostgreSQL-only tests out of the native suites; build with 4 jobs
Foundation / checks (ecs) (push) Successful in 2m28s
Foundation / checks (deploy) (push) Successful in 4m54s
Foundation / checks (postgres) (push) Failing after 8m46s
Foundation / checks (network) (push) Successful in 15m41s
Foundation / checks (client) (push) Successful in 17m3s
Foundation / checks (tsan) (push) Successful in 45m3s
Foundation / checks (checks) (push) Successful in 1h27m38s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped

A push's diff against its before SHA counts every commit it carries, and any
tests/ change selected checks, tsan and ecs. Run 475 spent 1h44m in checks
for two commits that only touched tests/region_store_tests.cpp, which the
native suites never build. Sources compiled only into evo-postgres-tests now
select the PostgreSQL suites alone; the PostgreSQL image runs the repository
format check so they stay formatted. Native CI stages compile with
CI_BUILD_JOBS (default 4, previously a fixed 2).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-20 18:22:44 -04:00
co-authored by Claude Opus 5.5
parent 60c034f066
commit 6a9af9c514
5 changed files with 38 additions and 12 deletions
+4 -2
View File
@@ -3,6 +3,8 @@ set -euo pipefail
# Run inside the Dockerfile's ci-toolchain stage, not an arbitrary host shell.
suite="${1:?Expected checks or tsan}"
# Compile parallelism; each clang analysis/ASan job can take 1-2 GiB of runner memory.
jobs="${CI_BUILD_JOBS:-4}"
cmake --version
g++-14 --version
clang++-19 --version
@@ -14,7 +16,7 @@ check_preset() {
local preset="$1"
local compiler="$2"
cmake --preset "$preset" "-DCMAKE_CXX_COMPILER=$compiler"
cmake --build --preset "$preset" --parallel 2
cmake --build --preset "$preset" --parallel "$jobs"
ctest --preset "$preset" --no-tests=error --timeout 120
}
@@ -31,7 +33,7 @@ case "$suite" in
cmake --preset debug -B build/fuzz -DCMAKE_CXX_COMPILER=clang++-19 \
-DEVO_BUILD_FUZZER=ON
cmake --build build/fuzz --target evo-snapshot-fuzz evo-world-codec-fuzz --parallel 2
cmake --build build/fuzz --target evo-snapshot-fuzz evo-world-codec-fuzz --parallel "$jobs"
./build/fuzz/evo-world-codec-fuzz -seed=123456 -runs=10000 \
-max_len=96 -timeout=10 -rss_limit_mb=1024
mkdir -p build/fuzz/corpus