ci: Switch build-zig to use EC2 (#19487)

This commit is contained in:
Ashcon Partovi
2025-05-05 18:05:08 -07:00
committed by GitHub
parent cc33a8562a
commit c130d1bd69
2 changed files with 28 additions and 4 deletions

View File

@@ -323,9 +323,26 @@ function getCppAgent(platform, options) {
function getZigAgent(platform, options) {
const { arch } = platform;
return {
queue: "build-zig",
};
// Uncomment to restore to using macOS on-prem for Zig.
// return {
// queue: "build-zig",
// };
return getEc2Agent(
{
os: "linux",
arch: "x64",
abi: "musl",
distro: "alpine",
release: "3.21",
},
options,
{
instanceType: "c7i.2xlarge",
cpuCount: 4,
threadsPerCore: 1,
},
);
}
/**