feat: add phase 8 ci matrix workflow
This commit is contained in:
committed by
copilot-swe-agent[bot]
parent
b7adaa9080
commit
f10584cad7
8
tests/ci_test/BUILD.bazel
Normal file
8
tests/ci_test/BUILD.bazel
Normal 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"],
|
||||
)
|
||||
13
tests/ci_test/phase8_ci_matrix_shape_test.sh
Executable file
13
tests/ci_test/phase8_ci_matrix_shape_test.sh
Executable 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}"
|
||||
Reference in New Issue
Block a user