feat: add phase 8 ci matrix workflow

This commit is contained in:
Eric
2026-03-04 08:01:05 +00:00
parent 310d504026
commit 4d89ef2f6b
5 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
load("@rules_shell//shell:sh_test.bzl", "sh_test")
sh_test(
name = "phase8_ci_matrix_shape_test",
srcs = ["phase8_ci_matrix_shape_test.sh"],
args = ["$(location //.github/workflows:ci.yml)"],
data = ["//.github/workflows:ci.yml"],
)

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
workflow_file="$1"
grep -Eq '^name:[[:space:]]+CI$' "${workflow_file}"
grep -Eq 'USE_BAZEL_VERSION:[[:space:]]+9\.0\.0' "${workflow_file}"
grep -Eq 'os:[[:space:]]+ubuntu-latest' "${workflow_file}"
grep -Eq 'phase8_target:[[:space:]]+linux-x64' "${workflow_file}"
grep -Eq 'os:[[:space:]]+macos-14' "${workflow_file}"
grep -Eq 'phase8_target:[[:space:]]+darwin-arm64' "${workflow_file}"
grep -Eq 'os:[[:space:]]+windows-latest' "${workflow_file}"
grep -Eq 'phase8_target:[[:space:]]+windows' "${workflow_file}"