mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-23 17:56:34 +08:00
Before: 2 monolith YAMLs (904 + 1127 lines), duplicated matrices, inconsistent action versions, duplicate build-windows job. After: 5 reusable workflows + 3 lean callers (1091 total lines): - _lint.yml: lint + security-static + codeql-gate - _test.yml: tests on 5 platforms with CBM_SKIP_PERF support - _build.yml: standard + UI + portable builds, all platforms - _smoke.yml: smoke test every binary variant - _soak.yml: quick + ASan soak, parameterized duration Fixes: duplicate build-windows, missing Windows CBM_SKIP_PERF, missing timeout-minutes, inconsistent action versions, VirusTotal check extracted to scripts/ci/check-virustotal.sh.
23 lines
492 B
YAML
23 lines
492 B
YAML
# Weekly soak test: 4h sustained load + ASan leak detection
|
|
name: Nightly Soak
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 2 * * 0' # Every Sunday at 2am UTC
|
|
workflow_dispatch:
|
|
inputs:
|
|
duration_minutes:
|
|
description: 'Soak duration in minutes (default: 240 = 4h)'
|
|
type: number
|
|
default: 240
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
soak:
|
|
uses: ./.github/workflows/_soak.yml
|
|
with:
|
|
duration_minutes: ${{ inputs.duration_minutes || 240 }}
|
|
run_asan: true
|