Skip to content

ci: use setup-v and cache-apt sanitizers profile in sanitized CI - #28040

Open
ulises-jeremias wants to merge 3 commits into
vlang:masterfrom
ulises-jeremias:ci/sanitized-setup-v
Open

ci: use setup-v and cache-apt sanitizers profile in sanitized CI#28040
ulises-jeremias wants to merge 3 commits into
vlang:masterfrom
ulises-jeremias:ci/sanitized-setup-v

Conversation

@ulises-jeremias

@ulises-jeremias ulises-jeremias commented Aug 6, 2026

Copy link
Copy Markdown
Member

Closes #27841. Part of #27835.

Stacked on #28039 (ci/sanitized-matrix) — merge #28039 first.

What

  • Replace make -j4 && ./v symlink with ./.github/actions/setup-v (symlink: true) in sanitize-linux.
  • Pin ./.github/actions/cache-apt-packages-action to profile: sanitizers (vs default full), reusing ci: factor sanitizer package lists #27863 profiles.

Why

Validation

  • ruby -ryaml YAML ok, single runs-on: ubuntu-22.04 matrix + windows job preserved.
  • No timeout/name change; Install dependencies apt list unchanged (base+graphics+clang).

Risk

Stack

Refactor the 7 Linux sanitizer jobs in sanitized_ci.yml into a single
matrix job (sanitize-linux) with 7 include entries (undefined-clang/gcc,
address-clang/gcc, memory-clang, memory-clang-compiler,
address-clang-without-gc). Keep Windows sanitize-address-msvc separate.
Preserve VFLAGS/ASAN/UBSAN/LSAN, timeouts (120/150/300), path gates,
concurrency and env SANITIZER_*_PACKAGES from the factored lists
(vlang#27863). No logic change, only deduplication.

Refs vlang#27841
Use ${{ matrix.* }} in if conditions to match GitHub Actions
expression syntax (as used in tools_ci.yml). No logic change.

Refs vlang#27841
Replace ad-hoc make + symlink with reusable setup-v action and
pin apt cache to sanitizers profile. No behavior change, dedup
from vlang#27863. Refs vlang#27835.
@ulises-jeremias
ulises-jeremias marked this pull request as ready for review August 6, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: refactor Sanitized CI matrix and timeout policy

1 participant