|
| 1 | +class Config22 { |
| 2 | + |
| 3 | + final Map<String, Map<String, ?>> buildConfigurations = [ |
| 4 | + x64Mac : [ |
| 5 | + os : 'mac', |
| 6 | + arch : 'x64', |
| 7 | + additionalNodeLabels: 'macos10.14', |
| 8 | + additionalTestLabels: [ |
| 9 | + openj9 : '!sw.os.osx.10_11' |
| 10 | + ], |
| 11 | + test : 'default', |
| 12 | + configureArgs : '--enable-dtrace', |
| 13 | + buildArgs : [ |
| 14 | + 'temurin' : '--create-jre-image --create-sbom' |
| 15 | + ] |
| 16 | + ], |
| 17 | + |
| 18 | + x64Linux : [ |
| 19 | + os : 'linux', |
| 20 | + arch : 'x64', |
| 21 | + dockerImage : 'adoptopenjdk/centos7_build_image', |
| 22 | + dockerFile: [ |
| 23 | + openj9 : 'pipelines/build/dockerFiles/cuda.dockerfile' |
| 24 | + ], |
| 25 | + test : 'default', |
| 26 | + additionalTestLabels: [ |
| 27 | + openj9 : '!(centos6||rhel6)' |
| 28 | + ], |
| 29 | + configureArgs : [ |
| 30 | + 'openj9' : '--enable-dtrace', |
| 31 | + 'temurin' : '--enable-dtrace' |
| 32 | + ], |
| 33 | + buildArgs : [ |
| 34 | + 'temurin' : '--create-source-archive --create-jre-image --create-sbom' |
| 35 | + ] |
| 36 | + ], |
| 37 | + |
| 38 | + x64AlpineLinux : [ |
| 39 | + os : 'alpine-linux', |
| 40 | + arch : 'x64', |
| 41 | + dockerImage : 'adoptopenjdk/alpine3_build_image', |
| 42 | + test : 'default', |
| 43 | + configureArgs : '--enable-headless-only=yes', |
| 44 | + buildArgs : [ |
| 45 | + 'temurin' : '--create-jre-image --create-sbom' |
| 46 | + ] |
| 47 | + ], |
| 48 | + |
| 49 | + aarch64AlpineLinux : [ |
| 50 | + os : 'alpine-linux', |
| 51 | + arch : 'aarch64', |
| 52 | + dockerImage : 'adoptopenjdk/alpine3_build_image', |
| 53 | + test : 'default', |
| 54 | + configureArgs : '--enable-headless-only=yes', |
| 55 | + buildArgs : [ |
| 56 | + 'temurin' : '--create-jre-image --create-sbom' |
| 57 | + ] |
| 58 | + ], |
| 59 | + |
| 60 | + x64Windows: [ |
| 61 | + os : 'windows', |
| 62 | + arch : 'x64', |
| 63 | + additionalNodeLabels: 'win2022&&vs2019', |
| 64 | + test : 'default', |
| 65 | + buildArgs : [ |
| 66 | + 'temurin' : '--create-jre-image --create-sbom' |
| 67 | + ] |
| 68 | + ], |
| 69 | + |
| 70 | + ppc64Aix : [ |
| 71 | + os : 'aix', |
| 72 | + arch : 'ppc64', |
| 73 | + additionalNodeLabels: [ |
| 74 | + temurin: 'xlc16&&aix720', |
| 75 | + openj9: 'xlc16&&aix715' |
| 76 | + ], |
| 77 | + test : 'default', |
| 78 | + additionalTestLabels: [ |
| 79 | + temurin : 'sw.os.aix.7_2' |
| 80 | + ], |
| 81 | + cleanWorkspaceAfterBuild: true, |
| 82 | + buildArgs : [ |
| 83 | + 'temurin' : '--create-jre-image --create-sbom' |
| 84 | + ] |
| 85 | + ], |
| 86 | + |
| 87 | + s390xLinux : [ |
| 88 | + os : 'linux', |
| 89 | + arch : 's390x', |
| 90 | + dockerImage : 'rhel7_build_image', |
| 91 | + test : 'default', |
| 92 | + buildArgs : [ |
| 93 | + 'temurin' : '--create-jre-image --create-sbom' |
| 94 | + ] |
| 95 | + ], |
| 96 | + |
| 97 | + ppc64leLinux : [ |
| 98 | + os : 'linux', |
| 99 | + arch : 'ppc64le', |
| 100 | + dockerImage : 'adoptopenjdk/centos7_build_image', |
| 101 | + test : 'default', |
| 102 | + configureArgs : [ |
| 103 | + 'openj9' : '--enable-dtrace' |
| 104 | + ], |
| 105 | + buildArgs : [ |
| 106 | + 'temurin' : '--create-jre-image --create-sbom' |
| 107 | + ] |
| 108 | + ], |
| 109 | + |
| 110 | + aarch64Linux : [ |
| 111 | + os : 'linux', |
| 112 | + arch : 'aarch64', |
| 113 | + dockerImage : 'adoptopenjdk/centos7_build_image', |
| 114 | + test : 'default', |
| 115 | + configureArgs : '--enable-dtrace', |
| 116 | + buildArgs : [ |
| 117 | + 'temurin' : '--create-jre-image --create-sbom' |
| 118 | + ] |
| 119 | + ], |
| 120 | + |
| 121 | + aarch64Mac: [ |
| 122 | + os : 'mac', |
| 123 | + arch : 'aarch64', |
| 124 | + additionalNodeLabels: 'macos11', |
| 125 | + test : 'default', |
| 126 | + buildArgs : [ |
| 127 | + 'temurin' : '--create-jre-image --create-sbom' |
| 128 | + ] |
| 129 | + ], |
| 130 | + |
| 131 | + arm32Linux : [ |
| 132 | + os : 'linux', |
| 133 | + arch : 'arm', |
| 134 | + crossCompile : 'aarch64', |
| 135 | + dockerImage : 'adoptopenjdk/ubuntu1604_build_image', |
| 136 | + dockerArgs : '--platform linux/arm/v7', |
| 137 | + test : 'default', |
| 138 | + configureArgs : '--enable-dtrace', |
| 139 | + buildArgs : [ |
| 140 | + 'temurin' : '--create-jre-image --create-sbom' |
| 141 | + ] |
| 142 | + ], |
| 143 | + |
| 144 | + riscv64Linux : [ |
| 145 | + os : 'linux', |
| 146 | + arch : 'riscv64', |
| 147 | + test : 'default', |
| 148 | + configureArgs : '--enable-dtrace', |
| 149 | + buildArgs : [ |
| 150 | + 'temurin' : '--create-jre-image --create-sbom' |
| 151 | + ] |
| 152 | + ], |
| 153 | + |
| 154 | + aarch64Windows: [ |
| 155 | + os : 'windows', |
| 156 | + arch : 'aarch64', |
| 157 | + crossCompile : 'x64', |
| 158 | + additionalNodeLabels: 'win2022&&vs2019', |
| 159 | + test : 'default', |
| 160 | + buildArgs : [ |
| 161 | + 'temurin' : '--create-jre-image --create-sbom --cross-compile' |
| 162 | + ] |
| 163 | + ] |
| 164 | + ] |
| 165 | + |
| 166 | +} |
| 167 | + |
| 168 | +Config22 config = new Config22() |
| 169 | +return config.buildConfigurations |
0 commit comments