mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 20:09:04 +00:00
[build images]
This commit is contained in:
@@ -664,7 +664,9 @@ function getReleaseStep(buildPlatforms, options) {
|
||||
agents: {
|
||||
queue: "test-darwin",
|
||||
},
|
||||
depends_on: buildPlatforms.filter(p => p.os !== "freebsd").map(platform => `${getTargetKey(platform)}-build-bun`),
|
||||
depends_on: buildPlatforms
|
||||
.filter(p => !(p.os === "freebsd" || p.os === "darwin"))
|
||||
.map(platform => `${getTargetKey(platform)}-build-bun`),
|
||||
env: {
|
||||
CANARY: revision,
|
||||
},
|
||||
|
||||
@@ -18,6 +18,7 @@ import {
|
||||
getSecret,
|
||||
getUsernameForDistro,
|
||||
homedir,
|
||||
isBuildkite,
|
||||
isCI,
|
||||
isMacOS,
|
||||
isWindows,
|
||||
@@ -1218,6 +1219,11 @@ async function main() {
|
||||
}
|
||||
}
|
||||
|
||||
if (isBuildkite && os === "darwin") {
|
||||
// they don't have it preinstalled in the hosted image
|
||||
await spawnSafe($`apt install tart sshpass`);
|
||||
}
|
||||
|
||||
/** @type {Machine} */
|
||||
const machine = await startGroup("Creating machine...", async () => {
|
||||
console.log("Creating machine:");
|
||||
|
||||
Reference in New Issue
Block a user