From 667c6ad6a935af8f1e125ff14f96f1c1e684e0f6 Mon Sep 17 00:00:00 2001 From: Javier Maestro Date: Wed, 11 Dec 2024 23:31:40 +0000 Subject: [PATCH] fix: //docs tests in MacOS Fixes #138 --- docs/BUILD.bazel | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/BUILD.bazel b/docs/BUILD.bazel index 36b15eb..4f833cd 100644 --- a/docs/BUILD.bazel +++ b/docs/BUILD.bazel @@ -3,7 +3,12 @@ load("@aspect_bazel_lib//lib:docs.bzl", "stardoc_with_diff_test", "update_docs") load("@bazel_features//private:util.bzl", "ge") -COMPATIBLE = ["@platforms//:incompatible"] if ge("8.0.0rc1") else [] +COMPATIBLE = ["@platforms//:incompatible"] if ge("8.0.0rc1") else select({ + "@platforms//cpu:x86_64": ["@platforms//cpu:x86_64"], + "@platforms//cpu:arm64": ["@platforms//cpu:arm64"], +}) + [ + "@platforms//os:linux", +] stardoc_with_diff_test( name = "rules",