ci: matrix sanitized Linux jobs - #28039
Open
ulises-jeremias wants to merge 2 commits into
Open
Conversation
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
ulises-jeremias
marked this pull request as ready for review
August 6, 2026 16:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #27841. Part of #27835.
This is the first incremental PR for #27841 (1A matrix) — stacked base for #28040.
sanitized_ci.ymlinto a single matrix jobsanitize-linuxwithstrategy.fail-fast: falseand 7includeentries:undefined-clang,undefined-gcc,address-clang,address-gcc,memory-clang,memory-clang-compiler,address-clang-without-gc.sanitize-address-msvc(Windows) separate as before.VFLAGS,ASAN_OPTIONS,UBSAN_OPTIONS,LSAN_OPTIONS,timeout-minutes(120/150/300),concurrency.cancel-in-progress, path gates andenv: SANITIZER_*_PACKAGESfrom ci: factor sanitizer package lists #27863.sanitize-<name>so branch protection can keep the same 8 checks (7 Linux matrix + 1 Windows).Stack: base of #28040 (
ci/sanitized-setup-v). Follow-ups for #27841: 1Bsetup-v+cache-apt(#28040) and 1C timeout tuning.Validation
ruby -ryaml -e "YAML.load_file('.github/workflows/sanitized_ci.yml')"— YAML ok, 2runs-on:entries.git diff --check— no whitespace errors.Fixes #27841