1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-03 22:23:18 +02:00

ci: Add amd64 macos bazel workflow (#324)

* ci: Add amd64 MacOS Bazel job

* bazel: Fix MacOS build

* add amd64_macos_bazel badge
This commit is contained in:
Mizux
2023-08-30 17:17:34 +02:00
committed by GitHub
parent e2d0f2ca21
commit 2a3ef54701
5 changed files with 55 additions and 3 deletions

View File

@ -78,7 +78,8 @@ const:
case BuildSystem.CMake:
return os == Os.Linux || cpu == Cpu.amd64;
case BuildSystem.Bazel:
return os == Os.Linux && (cpu == Cpu.amd64 || cpu == Cpu.AArch64);
return (os == Os.Linux && (cpu == Cpu.amd64 || cpu == Cpu.AArch64))
|| (os == Os.MacOS && cpu == Cpu.amd64);
}
}