mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Update ci.mjs
This commit is contained in:
@@ -956,6 +956,16 @@ async function getPipelineOptions() {
|
||||
const buildPlatformsMap = new Map(buildPlatforms.map(platform => [getTargetKey(platform), platform]));
|
||||
const testPlatformsMap = new Map(testPlatforms.map(platform => [getPlatformKey(platform), platform]));
|
||||
|
||||
// No need to run the asan builds when not building a PR.
|
||||
if (!canary) {
|
||||
for (const platform of buildPlatforms) {
|
||||
if (platform.profile === "asan") {
|
||||
const key = getTargetKey(platform);
|
||||
buildPlatformsMap.delete(key);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (isManual) {
|
||||
const { fields } = getOptionsStep();
|
||||
const keys = fields?.map(({ key }) => key) ?? [];
|
||||
|
||||
Reference in New Issue
Block a user