-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
493 additions
and
400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"@mongodb-js/prettier-config-devtools" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
export type CompileBuildVariantDefinition = { | ||
export type CompileBuildVariant = { | ||
name: string; | ||
displayName: string; | ||
runOn: string; | ||
executableOsId: string; | ||
id?: string; | ||
sharedOpenSsl?: string; | ||
}; | ||
|
||
export const COMPILE_BUILD_VARIANTS: CompileBuildVariant[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,98 @@ | ||
// @ts-check | ||
|
||
/** @type {(import("./compile-build-variants").CompileBuildVariantDefinition)[]} */ | ||
/** @type {import("./compile-build-variants").CompileBuildVariant[]} */ | ||
exports.COMPILE_BUILD_VARIANTS = [ | ||
{ | ||
displayName: "RHEL 7.0 x64", | ||
runOn: "rhel70-build", | ||
executableOsId: "linux-x64", | ||
displayName: 'RHEL 7.0 x64', | ||
runOn: 'rhel70-build', | ||
executableOsId: 'linux-x64', | ||
}, | ||
{ | ||
displayName: "RHEL 8.0 x64", | ||
runOn: "rhel80-build", | ||
id: "linux_x64_rhel8", | ||
executableOsId: "linux-x64", | ||
displayName: 'RHEL 8.0 x64', | ||
runOn: 'rhel80-build', | ||
id: 'linux_x64_rhel8', | ||
executableOsId: 'linux-x64', | ||
}, | ||
{ | ||
displayName: "RHEL 7.0 x64", | ||
runOn: "rhel70-build", | ||
executableOsId: "linux-x64-openssl11", | ||
sharedOpenSsl: "openssl11", | ||
displayName: 'RHEL 7.0 x64', | ||
runOn: 'rhel70-build', | ||
executableOsId: 'linux-x64-openssl11', | ||
sharedOpenSsl: 'openssl11', | ||
}, | ||
{ | ||
displayName: "RHEL 8.0 x64", | ||
runOn: "rhel80-build", | ||
id: "linux_x64_openssl11_rhel8", | ||
executableOsId: "linux-x64-openssl11", | ||
sharedOpenSsl: "openssl11", | ||
displayName: 'RHEL 8.0 x64', | ||
runOn: 'rhel80-build', | ||
id: 'linux_x64_openssl11_rhel8', | ||
executableOsId: 'linux-x64-openssl11', | ||
sharedOpenSsl: 'openssl11', | ||
}, | ||
{ | ||
displayName: "RHEL 7.0 x64", | ||
runOn: "rhel70-build", | ||
executableOsId: "linux-x64-openssl3", | ||
sharedOpenSsl: "openssl3", | ||
displayName: 'RHEL 7.0 x64', | ||
runOn: 'rhel70-build', | ||
executableOsId: 'linux-x64-openssl3', | ||
sharedOpenSsl: 'openssl3', | ||
}, | ||
{ | ||
displayName: "RHEL 8.0 x64", | ||
runOn: "rhel80-build", | ||
id: "linux_x64_openssl3_rhel8", | ||
executableOsId: "linux-x64-openssl3", | ||
sharedOpenSsl: "openssl3", | ||
displayName: 'RHEL 8.0 x64', | ||
runOn: 'rhel80-build', | ||
id: 'linux_x64_openssl3_rhel8', | ||
executableOsId: 'linux-x64-openssl3', | ||
sharedOpenSsl: 'openssl3', | ||
}, | ||
{ | ||
displayName: "Amazon 2 arm64", | ||
runOn: "amazon2-arm64-large", | ||
executableOsId: "linux-arm64", | ||
displayName: 'Amazon 2 arm64', | ||
runOn: 'amazon2-arm64-large', | ||
executableOsId: 'linux-arm64', | ||
}, | ||
{ | ||
displayName: "Amazon 2 arm64", | ||
runOn: "amazon2-arm64-large", | ||
executableOsId: "linux-arm64-openssl11", | ||
sharedOpenSsl: "openssl11", | ||
displayName: 'Amazon 2 arm64', | ||
runOn: 'amazon2-arm64-large', | ||
executableOsId: 'linux-arm64-openssl11', | ||
sharedOpenSsl: 'openssl11', | ||
}, | ||
{ | ||
displayName: "Amazon 2 arm64", | ||
runOn: "amazon2-arm64-large", | ||
executableOsId: "linux-arm64-openssl3", | ||
sharedOpenSsl: "openssl3", | ||
displayName: 'Amazon 2 arm64', | ||
runOn: 'amazon2-arm64-large', | ||
executableOsId: 'linux-arm64-openssl3', | ||
sharedOpenSsl: 'openssl3', | ||
}, | ||
{ | ||
displayName: "RHEL 8 PPC", | ||
runOn: "rhel8-power-small", | ||
executableOsId: "linux-ppc64le", | ||
displayName: 'RHEL 8 PPC', | ||
runOn: 'rhel8-power-small', | ||
executableOsId: 'linux-ppc64le', | ||
}, | ||
{ | ||
displayName: "RHEL 7 s390x", | ||
runOn: "rhel7-zseries-large", | ||
executableOsId: "linux-s390x", | ||
displayName: 'RHEL 7 s390x', | ||
runOn: 'rhel7-zseries-large', | ||
executableOsId: 'linux-s390x', | ||
}, | ||
{ | ||
displayName: "MacOS Big Sur", | ||
id: "darwin", | ||
runOn: "macos-11", | ||
executableOsId: "darwin-x64", | ||
displayName: 'MacOS Big Sur', | ||
id: 'darwin', | ||
runOn: 'macos-11', | ||
executableOsId: 'darwin-x64', | ||
}, | ||
{ | ||
displayName: "MacOS Big Sur arm64", | ||
runOn: "macos-11-arm64", | ||
executableOsId: "darwin-arm64", | ||
displayName: 'MacOS Big Sur arm64', | ||
runOn: 'macos-11-arm64', | ||
executableOsId: 'darwin-arm64', | ||
}, | ||
{ | ||
id: "win32", | ||
displayName: "Windows VS 2022", | ||
runOn: "windows-vsCurrent-large", | ||
executableOsId: "win32", | ||
id: 'win32', | ||
displayName: 'Windows VS 2022', | ||
runOn: 'windows-vsCurrent-large', | ||
executableOsId: 'win32', | ||
}, | ||
].map((buildVariant) => { | ||
const { displayName, sharedOpenSsl, id, executableOsId } = buildVariant; | ||
const formattedDisplayName = [displayName, sharedOpenSsl, "(Build)"] | ||
const formattedDisplayName = [displayName, sharedOpenSsl, '(Build)'] | ||
.filter((text) => text) | ||
.join(" "); | ||
.join(' '); | ||
|
||
return { | ||
...buildVariant, | ||
id, | ||
displayName: formattedDisplayName, | ||
name: `build_${id ?? executableOsId.replaceAll("-", "_")}`, | ||
name: `build_${id ?? executableOsId.replaceAll('-', '_')}`, | ||
}; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.