Update ci.mjs

This commit is contained in:
Jarred Sumner
2025-05-03 03:58:36 -07:00
parent 9639630110
commit 26ae8b7ff6

View File

@@ -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) ?? [];