ci: add the independent-build lane and pin the perf Bundle
Add tools/ci/independent_build.py: export HEAD without stdlib/, build both shipped binaries with --locked, run a language-only check/call, and require a stdlib-dependent run to fail closed with no sibling stdlib. Add tests/independent/language-only.mq.md and run the lane as its own GitHub job and Woodpecker step. Perf runner resolves the pinned Bundle (--stdlib-dir/--bundle-pin), exports it to every workload and records it in the report; GitHub and Woodpecker lanes verify the pin and pass the product tests an explicit Bundle. docs/ci.md and performance docs describe the lanes.
This commit is contained in:
1 parent
3a68260cf2
commit
ab6b6b1a23
9 files changed
+316
-13
No files matched your search
@@ -10,6 +10,7 @@ steps:
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get install -y --no-install-recommends python3 util-linux ca-certificates git openssl build-essential
|
||||
- python3 tools/stdlib/bundle.py
|
||||
- cargo build --release --locked -p marqdo-cli -p marqdo-provider-worker
|
||||
- |
|
||||
set -eu
|
||||
@@ -38,7 +39,8 @@ steps:
|
||||
(cd "$perf_dir/beta" && python3 tools/perf/runner.py --no-build \
|
||||
--warmups 5 --samples 20 --platform-id woodpecker-agent-1 \
|
||||
--cpu-list "$cpu_list" --out "$perf_dir/beta.json" > /dev/null)
|
||||
python3 tools/perf/runner.py --no-build --binary "$candidate/marqdo" --warmups 5 --samples 20 \
|
||||
python3 tools/perf/runner.py --no-build --binary "$candidate/marqdo" \
|
||||
--stdlib-dir "$candidate/stdlib" --warmups 5 --samples 20 \
|
||||
--platform-id woodpecker-agent-1 --cpu-list "$cpu_list" \
|
||||
--baseline "$perf_dir/beta.json" --out perf.json > /dev/null
|
||||
python3 - <<'PY'
|
||||
|
||||
Reference in new issue
Block a user