|
1 | 1 | // @ts-check
|
2 | 2 |
|
3 |
| -/** @type {(import("./compile-build-variants").CompileBuildVariantDefinition)[]} */ |
| 3 | +/** @type {import("./compile-build-variants").CompileBuildVariant[]} */ |
4 | 4 | exports.COMPILE_BUILD_VARIANTS = [
|
5 | 5 | {
|
6 |
| - displayName: "RHEL 7.0 x64", |
7 |
| - runOn: "rhel70-build", |
8 |
| - executableOsId: "linux-x64", |
| 6 | + displayName: 'RHEL 7.0 x64', |
| 7 | + runOn: 'rhel70-build', |
| 8 | + executableOsId: 'linux-x64', |
9 | 9 | },
|
10 | 10 | {
|
11 |
| - displayName: "RHEL 8.0 x64", |
12 |
| - runOn: "rhel80-build", |
13 |
| - id: "linux_x64_rhel8", |
14 |
| - executableOsId: "linux-x64", |
| 11 | + displayName: 'RHEL 8.0 x64', |
| 12 | + runOn: 'rhel80-build', |
| 13 | + id: 'linux_x64_rhel8', |
| 14 | + executableOsId: 'linux-x64', |
15 | 15 | },
|
16 | 16 | {
|
17 |
| - displayName: "RHEL 7.0 x64", |
18 |
| - runOn: "rhel70-build", |
19 |
| - executableOsId: "linux-x64-openssl11", |
20 |
| - sharedOpenSsl: "openssl11", |
| 17 | + displayName: 'RHEL 7.0 x64', |
| 18 | + runOn: 'rhel70-build', |
| 19 | + executableOsId: 'linux-x64-openssl11', |
| 20 | + sharedOpenSsl: 'openssl11', |
21 | 21 | },
|
22 | 22 | {
|
23 |
| - displayName: "RHEL 8.0 x64", |
24 |
| - runOn: "rhel80-build", |
25 |
| - id: "linux_x64_openssl11_rhel8", |
26 |
| - executableOsId: "linux-x64-openssl11", |
27 |
| - sharedOpenSsl: "openssl11", |
| 23 | + displayName: 'RHEL 8.0 x64', |
| 24 | + runOn: 'rhel80-build', |
| 25 | + id: 'linux_x64_openssl11_rhel8', |
| 26 | + executableOsId: 'linux-x64-openssl11', |
| 27 | + sharedOpenSsl: 'openssl11', |
28 | 28 | },
|
29 | 29 | {
|
30 |
| - displayName: "RHEL 7.0 x64", |
31 |
| - runOn: "rhel70-build", |
32 |
| - executableOsId: "linux-x64-openssl3", |
33 |
| - sharedOpenSsl: "openssl3", |
| 30 | + displayName: 'RHEL 7.0 x64', |
| 31 | + runOn: 'rhel70-build', |
| 32 | + executableOsId: 'linux-x64-openssl3', |
| 33 | + sharedOpenSsl: 'openssl3', |
34 | 34 | },
|
35 | 35 | {
|
36 |
| - displayName: "RHEL 8.0 x64", |
37 |
| - runOn: "rhel80-build", |
38 |
| - id: "linux_x64_openssl3_rhel8", |
39 |
| - executableOsId: "linux-x64-openssl3", |
40 |
| - sharedOpenSsl: "openssl3", |
| 36 | + displayName: 'RHEL 8.0 x64', |
| 37 | + runOn: 'rhel80-build', |
| 38 | + id: 'linux_x64_openssl3_rhel8', |
| 39 | + executableOsId: 'linux-x64-openssl3', |
| 40 | + sharedOpenSsl: 'openssl3', |
41 | 41 | },
|
42 | 42 | {
|
43 |
| - displayName: "Amazon 2 arm64", |
44 |
| - runOn: "amazon2-arm64-large", |
45 |
| - executableOsId: "linux-arm64", |
| 43 | + displayName: 'Amazon 2 arm64', |
| 44 | + runOn: 'amazon2-arm64-large', |
| 45 | + executableOsId: 'linux-arm64', |
46 | 46 | },
|
47 | 47 | {
|
48 |
| - displayName: "Amazon 2 arm64", |
49 |
| - runOn: "amazon2-arm64-large", |
50 |
| - executableOsId: "linux-arm64-openssl11", |
51 |
| - sharedOpenSsl: "openssl11", |
| 48 | + displayName: 'Amazon 2 arm64', |
| 49 | + runOn: 'amazon2-arm64-large', |
| 50 | + executableOsId: 'linux-arm64-openssl11', |
| 51 | + sharedOpenSsl: 'openssl11', |
52 | 52 | },
|
53 | 53 | {
|
54 |
| - displayName: "Amazon 2 arm64", |
55 |
| - runOn: "amazon2-arm64-large", |
56 |
| - executableOsId: "linux-arm64-openssl3", |
57 |
| - sharedOpenSsl: "openssl3", |
| 54 | + displayName: 'Amazon 2 arm64', |
| 55 | + runOn: 'amazon2-arm64-large', |
| 56 | + executableOsId: 'linux-arm64-openssl3', |
| 57 | + sharedOpenSsl: 'openssl3', |
58 | 58 | },
|
59 | 59 | {
|
60 |
| - displayName: "RHEL 8 PPC", |
61 |
| - runOn: "rhel8-power-small", |
62 |
| - executableOsId: "linux-ppc64le", |
| 60 | + displayName: 'RHEL 8 PPC', |
| 61 | + runOn: 'rhel8-power-small', |
| 62 | + executableOsId: 'linux-ppc64le', |
63 | 63 | },
|
64 | 64 | {
|
65 |
| - displayName: "RHEL 7 s390x", |
66 |
| - runOn: "rhel7-zseries-large", |
67 |
| - executableOsId: "linux-s390x", |
| 65 | + displayName: 'RHEL 7 s390x', |
| 66 | + runOn: 'rhel7-zseries-large', |
| 67 | + executableOsId: 'linux-s390x', |
68 | 68 | },
|
69 | 69 | {
|
70 |
| - displayName: "MacOS Big Sur", |
71 |
| - id: "darwin", |
72 |
| - runOn: "macos-11", |
73 |
| - executableOsId: "darwin-x64", |
| 70 | + displayName: 'MacOS Big Sur', |
| 71 | + id: 'darwin', |
| 72 | + runOn: 'macos-11', |
| 73 | + executableOsId: 'darwin-x64', |
74 | 74 | },
|
75 | 75 | {
|
76 |
| - displayName: "MacOS Big Sur arm64", |
77 |
| - runOn: "macos-11-arm64", |
78 |
| - executableOsId: "darwin-arm64", |
| 76 | + displayName: 'MacOS Big Sur arm64', |
| 77 | + runOn: 'macos-11-arm64', |
| 78 | + executableOsId: 'darwin-arm64', |
79 | 79 | },
|
80 | 80 | {
|
81 |
| - id: "win32", |
82 |
| - displayName: "Windows VS 2022", |
83 |
| - runOn: "windows-vsCurrent-large", |
84 |
| - executableOsId: "win32", |
| 81 | + id: 'win32', |
| 82 | + displayName: 'Windows VS 2022', |
| 83 | + runOn: 'windows-vsCurrent-large', |
| 84 | + executableOsId: 'win32', |
85 | 85 | },
|
86 | 86 | ].map((buildVariant) => {
|
87 | 87 | const { displayName, sharedOpenSsl, id, executableOsId } = buildVariant;
|
88 |
| - const formattedDisplayName = [displayName, sharedOpenSsl, "(Build)"] |
| 88 | + const formattedDisplayName = [displayName, sharedOpenSsl, '(Build)'] |
89 | 89 | .filter((text) => text)
|
90 |
| - .join(" "); |
| 90 | + .join(' '); |
91 | 91 |
|
92 | 92 | return {
|
93 | 93 | ...buildVariant,
|
94 | 94 | id,
|
95 | 95 | displayName: formattedDisplayName,
|
96 |
| - name: `build_${id ?? executableOsId.replaceAll("-", "_")}`, |
| 96 | + name: `build_${id ?? executableOsId.replaceAll('-', '_')}`, |
97 | 97 | };
|
98 | 98 | });
|
0 commit comments