Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 1 | ANITA_TAGS := \ |
Nico Huber | 5e8b339 | 2024-04-21 13:33:56 +0200 | [diff] [blame] | 2 | anita\:10.0-amd64 anita\:10.0-i386 \ |
Nico Huber | b50d73d | 2023-03-01 17:25:12 +0000 | [diff] [blame] | 3 | anita\:9.3-amd64 anita\:9.3-i386 anita\:9.3-sparc64 \ |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 4 | anita\:8.2-amd64 anita\:8.2-i386 \ |
| 5 | anita\:7.1-amd64 anita\:7.1-i386 \ |
| 6 | |
| 7 | MULTIARCH_TAGS := \ |
| 8 | centos\:7.6-armhfp-clean centos\:7.6-amd64-clean \ |
| 9 | centos\:7.3-aarch64-clean centos\:7.3-amd64-clean \ |
| 10 | centos\:7.2-amd64-clean \ |
| 11 | $(foreach a,x86_64 aarch64, \ |
| 12 | $(foreach v,34 33 32 31 30 29 25 24, \ |
| 13 | fedora\:$(v)-$(a))) \ |
| 14 | $(foreach a,ppc64le, \ |
| 15 | $(foreach v,34 33 29 25 24, \ |
| 16 | fedora\:$(v)-$(a))) \ |
| 17 | $(foreach a,s390x, \ |
| 18 | $(foreach v,34 33 32 31 30 29, \ |
| 19 | fedora\:$(v)-$(a))) \ |
| 20 | fedora\:28-armhfp \ |
| 21 | $(foreach a,ppc64el armhf mipsel amd64 i386, \ |
| 22 | $(foreach v,bullseye buster stretch, \ |
| 23 | debian-debootstrap\:$(a)-$(v))) \ |
| 24 | $(foreach a,arm64 mips, \ |
| 25 | $(foreach v,buster stretch, \ |
| 26 | debian-debootstrap\:$(a)-$(v))) \ |
| 27 | $(foreach a,ppc64el arm64 armhf amd64, \ |
| 28 | $(foreach v,jammy focal bionic xenial, \ |
| 29 | ubuntu-debootstrap\:$(a)-$(v))) \ |
| 30 | $(foreach a,i386, \ |
| 31 | $(foreach v,bionic xenial, \ |
| 32 | ubuntu-debootstrap\:$(a)-$(v))) \ |
| 33 | ubuntu-debootstrap\:powerpc-xenial \ |
| 34 | $(foreach a,aarch64 armhf amd64 i386, \ |
| 35 | $(foreach v,v3.14 v3.13 v3.12 v3.11 v3.10 v3.9 v3.8 v3.7 v3.6, \ |
| 36 | alpine\:$(a)-$(v))) \ |
| 37 | |
Nico Huber | 59848a9 | 2023-03-04 00:41:18 +0000 | [diff] [blame] | 38 | ALMALINUX_TAGS := \ |
| 39 | $(foreach a,amd64 arm64v8 ppc64le s390x, \ |
| 40 | $(foreach v,8 9, \ |
| 41 | $(a)/almalinux\:$(v))) |
| 42 | |
Nico Huber | f137f44 | 2023-03-03 17:12:14 +0000 | [diff] [blame] | 43 | OFFICIAL_TAGS := \ |
Nico Huber | 2044af0 | 2023-03-04 00:40:47 +0000 | [diff] [blame] | 44 | $(foreach a,ppc64le s390x arm64v8 amd64, \ |
Nico Huber | b8b3593 | 2024-04-21 13:37:48 +0200 | [diff] [blame] | 45 | $(foreach v,40 39 38 37 36 35, \ |
Nico Huber | 2044af0 | 2023-03-04 00:40:47 +0000 | [diff] [blame] | 46 | $(a)/fedora\:$(v))) \ |
Nico Huber | 494561a | 2023-03-03 17:12:32 +0000 | [diff] [blame] | 47 | $(foreach a,ppc64le mips64le s390x arm64v8 arm32v7 arm32v5 amd64 i386, \ |
| 48 | $(foreach v,bookworm, \ |
| 49 | $(a)/debian\:$(v))) \ |
Nico Huber | 7b05f09 | 2024-04-21 13:38:41 +0200 | [diff] [blame] | 50 | $(foreach a,arm32v7 arm64v8 ppc64le s390x, \ |
| 51 | $(foreach v,noble, \ |
| 52 | $(a)/ubuntu\:$(v))) \ |
Nico Huber | f137f44 | 2023-03-03 17:12:14 +0000 | [diff] [blame] | 53 | $(foreach a,ppc64le s390x arm64v8 arm32v7 arm32v6 amd64 i386, \ |
| 54 | $(foreach v,3.17 3.16 3.15, \ |
| 55 | $(a)/alpine\:$(v))) \ |
Nico Huber | 59848a9 | 2023-03-04 00:41:18 +0000 | [diff] [blame] | 56 | $(ALMALINUX_TAGS) |
Nico Huber | f137f44 | 2023-03-03 17:12:14 +0000 | [diff] [blame] | 57 | |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 58 | OTHER_TAGS := djgpp\:6.1.0 |
| 59 | |
Nico Huber | 05f0f7c | 2023-03-03 17:08:16 +0000 | [diff] [blame] | 60 | ALL_TAGS := $(ANITA_TAGS) $(MULTIARCH_TAGS) $(OFFICIAL_TAGS) $(OTHER_TAGS) |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 61 | |
| 62 | BROKEN_TAGS := anita\:7.1-amd64 anita\:7.1-i386 \ |
| 63 | centos\:7.6-armhfp-clean \ |
Nico Huber | 2044af0 | 2023-03-04 00:40:47 +0000 | [diff] [blame] | 64 | arm64v8/fedora\:35 fedora\:30-s390x fedora\:28-armhfp \ |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 65 | |
| 66 | WORKING_TAGS := $(filter-out $(BROKEN_TAGS),$(ALL_TAGS)) |
| 67 | |
| 68 | arch_filter = $(sort \ |
| 69 | $(foreach arch,$(1), \ |
Nico Huber | 05f0f7c | 2023-03-03 17:08:16 +0000 | [diff] [blame] | 70 | $(filter-out $(subst $(arch),,$(MULTIARCH_TAGS) $(OFFICIAL_TAGS)), \ |
| 71 | $(MULTIARCH_TAGS) $(OFFICIAL_TAGS)))) |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 72 | |
| 73 | machine_map = \ |
| 74 | $(if $(filter i386 i686 x86,$(1)),i386 x86, \ |
| 75 | $(if $(filter x86_64,$(1)),amd64 i386 x86, \ |
| 76 | $(if $(filter armv7l armv6l,$(1)),armhf, \ |
| 77 | $(if $(filter aarch64,$(1)),aarch64 arm64, \ |
| 78 | $(if $(filter ppc64le,$(1)),ppc64le ppc64el, \ |
| 79 | $(if $(filter ppc,$(1)),powerpc, \ |
| 80 | $(if $(filter mips,$(1)),mips mipsel, \ |
| 81 | $(1)))))))) |
| 82 | |
| 83 | NATIVE_TAGS := $(call arch_filter,$(call machine_map,$(shell uname -m))) |
| 84 | |
| 85 | # rather arbitrary selection of images that seem to work (focus on amd64) |
| 86 | DEFAULT_TAGS := \ |
Nico Huber | b50d73d | 2023-03-01 17:25:12 +0000 | [diff] [blame] | 87 | anita\:9.3-amd64 \ |
| 88 | anita\:9.3-i386 \ |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 89 | anita\:8.2-amd64 \ |
Nico Huber | e49c220 | 2022-12-11 17:31:39 +0000 | [diff] [blame] | 90 | anita\:8.2-i386 \ |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 91 | djgpp\:6.1.0 \ |
| 92 | fedora\:30-aarch64 \ |
Nico Huber | e49c220 | 2022-12-11 17:31:39 +0000 | [diff] [blame] | 93 | fedora\:30-x86_64 \ |
| 94 | fedora\:31-x86_64 \ |
| 95 | fedora\:32-aarch64 \ |
| 96 | fedora\:32-x86_64 \ |
| 97 | fedora\:33-ppc64le \ |
| 98 | fedora\:33-x86_64 \ |
| 99 | fedora\:34-aarch64 \ |
| 100 | fedora\:34-ppc64le \ |
| 101 | fedora\:34-s390x \ |
| 102 | fedora\:34-x86_64 \ |
| 103 | centos\:7.6-amd64-clean \ |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 104 | debian-debootstrap\:amd64-stretch \ |
Nico Huber | e49c220 | 2022-12-11 17:31:39 +0000 | [diff] [blame] | 105 | debian-debootstrap\:arm64-stretch \ |
| 106 | debian-debootstrap\:armhf-stretch \ |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 107 | debian-debootstrap\:i386-stretch \ |
Nico Huber | e49c220 | 2022-12-11 17:31:39 +0000 | [diff] [blame] | 108 | debian-debootstrap\:mipsel-stretch \ |
| 109 | debian-debootstrap\:amd64-buster \ |
| 110 | debian-debootstrap\:arm64-buster \ |
| 111 | debian-debootstrap\:armhf-buster \ |
| 112 | debian-debootstrap\:i386-buster \ |
| 113 | debian-debootstrap\:mips-buster \ |
| 114 | debian-debootstrap\:mipsel-buster \ |
| 115 | debian-debootstrap\:ppc64el-buster \ |
| 116 | debian-debootstrap\:amd64-bullseye \ |
| 117 | debian-debootstrap\:armhf-bullseye \ |
| 118 | debian-debootstrap\:i386-bullseye \ |
| 119 | debian-debootstrap\:mipsel-bullseye \ |
| 120 | debian-debootstrap\:ppc64el-bullseye \ |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 121 | ubuntu-debootstrap\:amd64-bionic \ |
Nico Huber | e49c220 | 2022-12-11 17:31:39 +0000 | [diff] [blame] | 122 | ubuntu-debootstrap\:arm64-bionic \ |
| 123 | ubuntu-debootstrap\:i386-bionic \ |
| 124 | ubuntu-debootstrap\:amd64-focal \ |
| 125 | ubuntu-debootstrap\:arm64-focal \ |
| 126 | ubuntu-debootstrap\:armhf-focal \ |
| 127 | ubuntu-debootstrap\:ppc64el-focal \ |
| 128 | ubuntu-debootstrap\:amd64-jammy \ |
| 129 | ubuntu-debootstrap\:arm64-jammy \ |
| 130 | ubuntu-debootstrap\:armhf-jammy \ |
| 131 | ubuntu-debootstrap\:ppc64el-jammy \ |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 132 | alpine\:aarch64-v3.9 \ |
Nico Huber | e49c220 | 2022-12-11 17:31:39 +0000 | [diff] [blame] | 133 | alpine\:amd64-v3.9 \ |
| 134 | alpine\:i386-v3.9 \ |
| 135 | alpine\:aarch64-v3.10 \ |
| 136 | alpine\:amd64-v3.10 \ |
| 137 | alpine\:armhf-v3.10 \ |
| 138 | alpine\:i386-v3.10 \ |
| 139 | alpine\:aarch64-v3.10 \ |
| 140 | alpine\:amd64-v3.10 \ |
| 141 | alpine\:armhf-v3.10 \ |
| 142 | alpine\:i386-v3.10 \ |
| 143 | alpine\:aarch64-v3.12 \ |
| 144 | alpine\:amd64-v3.12 \ |
| 145 | alpine\:i386-v3.12 \ |
| 146 | alpine\:amd64-v3.14 \ |
| 147 | alpine\:i386-v3.14 \ |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 148 | |
| 149 | # also run all native tests by default |
| 150 | DEFAULT_TAGS += $(filter-out $(DEFAULT_TAGS),$(NATIVE_TAGS)) |
| 151 | |
| 152 | # original 1.0.x tags |
| 153 | 10X_TAGS := \ |
| 154 | anita\:7.1-amd64 \ |
| 155 | anita\:7.1-i386 \ |
| 156 | djgpp\:6.1.0 \ |
| 157 | alpine\:amd64-v3.6 \ |
| 158 | alpine\:amd64-v3.7 \ |
| 159 | alpine\:i386-v3.6 \ |
| 160 | alpine\:i386-v3.7 \ |
| 161 | centos\:7.2-amd64-clean \ |
| 162 | centos\:7.3-aarch64-clean \ |
| 163 | centos\:7.3-amd64-clean \ |
| 164 | debian-debootstrap\:amd64-sid \ |
| 165 | debian-debootstrap\:amd64-stretch \ |
| 166 | debian-debootstrap\:armhf-stretch \ |
| 167 | debian-debootstrap\:i386-sid \ |
| 168 | debian-debootstrap\:i386-stretch \ |
| 169 | debian-debootstrap\:mips-stretch \ |
| 170 | debian-debootstrap\:mipsel-stretch \ |
| 171 | debian-debootstrap\:powerpc-sid \ |
| 172 | debian-debootstrap\:ppc64el-stretch \ |
| 173 | fedora\:24-x86_64 \ |
| 174 | fedora\:25-aarch64 \ |
| 175 | fedora\:25-ppc64le \ |
| 176 | fedora\:25-x86_64 \ |
| 177 | ubuntu-debootstrap\:amd64-xenial \ |
| 178 | ubuntu-debootstrap\:amd64-zesty \ |
| 179 | ubuntu-debootstrap\:arm64-xenial \ |
| 180 | ubuntu-debootstrap\:i386-xenial \ |
| 181 | ubuntu-debootstrap\:i386-zesty \ |
| 182 | |
| 183 | # additional tags added after initial release |
| 184 | 10X_TAGS += \ |
| 185 | alpine\:aarch64-v3.8 \ |
| 186 | alpine\:armhf-v3.8 \ |
| 187 | alpine\:amd64-v3.8 \ |
| 188 | alpine\:i386-v3.8 \ |
| 189 | debian-debootstrap\:amd64-buster \ |
| 190 | debian-debootstrap\:arm64-buster \ |
| 191 | debian-debootstrap\:i386-buster \ |
| 192 | ubuntu-debootstrap\:amd64-bionic \ |
| 193 | ubuntu-debootstrap\:arm64-bionic \ |
| 194 | ubuntu-debootstrap\:i386-bionic \ |
| 195 | |
| 196 | # can only run what is still maintained |
| 197 | 10X_TAGS := $(filter $(10X_TAGS),$(ALL_TAGS)) |
| 198 | |
| 199 | # original 1.1.x tags |
| 200 | 11X_TAGS := \ |
| 201 | anita\:7.1-amd64 \ |
| 202 | djgpp\:6.1.0 \ |
| 203 | fedora\:30-x86_64 \ |
| 204 | fedora\:30-aarch64 \ |
| 205 | fedora\:29-x86_64 \ |
| 206 | fedora\:25-x86_64 \ |
| 207 | fedora\:25-ppc64le \ |
| 208 | fedora\:25-aarch64 \ |
| 209 | fedora\:24-x86_64 \ |
| 210 | centos\:7.6-amd64-clean \ |
| 211 | centos\:7.3-aarch64-clean \ |
| 212 | centos\:7.3-amd64-clean \ |
| 213 | centos\:7.2-amd64-clean \ |
| 214 | debian-debootstrap\:ppc64el-stretch \ |
| 215 | debian-debootstrap\:armhf-stretch \ |
| 216 | debian-debootstrap\:mips-stretch \ |
| 217 | debian-debootstrap\:mipsel-stretch \ |
| 218 | debian-debootstrap\:amd64-stretch \ |
| 219 | debian-debootstrap\:i386-stretch \ |
| 220 | debian-debootstrap\:amd64-sid \ |
| 221 | ubuntu-debootstrap\:arm64-xenial \ |
| 222 | ubuntu-debootstrap\:amd64-xenial \ |
| 223 | ubuntu-debootstrap\:powerpc-xenial \ |
| 224 | ubuntu-debootstrap\:amd64-bionic \ |
| 225 | alpine\:aarch64-v3.9 \ |
| 226 | alpine\:amd64-v3.9 \ |
| 227 | alpine\:amd64-v3.8 \ |
| 228 | alpine\:amd64-v3.7 \ |
| 229 | alpine\:amd64-v3.6 \ |
| 230 | alpine\:armhf-v3.8 \ |
| 231 | alpine\:i386-v3.9 \ |
| 232 | alpine\:i386-v3.8 \ |
| 233 | alpine\:i386-v3.7 \ |
| 234 | alpine\:i386-v3.6 \ |
| 235 | debian-debootstrap\:amd64-buster \ |
| 236 | debian-debootstrap\:i386-buster \ |
| 237 | debian-debootstrap\:i386-sid \ |
| 238 | ubuntu-debootstrap\:armhf-xenial \ |
| 239 | ubuntu-debootstrap\:i386-bionic \ |
| 240 | ubuntu-debootstrap\:i386-xenial \ |
| 241 | ubuntu-debootstrap\:ppc64el-xenial \ |
| 242 | |
| 243 | # can only run what is still maintained |
| 244 | 11X_TAGS := $(filter $(11X_TAGS),$(ALL_TAGS)) |
| 245 | |
Nico Huber | f4a1b5d | 2022-09-27 14:02:36 +0000 | [diff] [blame] | 246 | # 1.2.x tags -- list was crafted late at the 1.2.1 release |
| 247 | 12X_TAGS := \ |
| 248 | djgpp\:6.1.0 \ |
| 249 | fedora\:30-aarch64 \ |
| 250 | fedora\:30-x86_64 \ |
| 251 | fedora\:31-x86_64 \ |
| 252 | fedora\:32-aarch64 \ |
| 253 | fedora\:32-x86_64 \ |
| 254 | fedora\:33-ppc64le \ |
| 255 | fedora\:33-x86_64 \ |
| 256 | fedora\:34-aarch64 \ |
| 257 | fedora\:34-ppc64le \ |
| 258 | fedora\:34-s390x \ |
| 259 | fedora\:34-x86_64 \ |
| 260 | centos\:7.6-amd64-clean \ |
| 261 | debian-debootstrap\:amd64-stretch \ |
| 262 | debian-debootstrap\:arm64-stretch \ |
| 263 | debian-debootstrap\:armhf-stretch \ |
| 264 | debian-debootstrap\:i386-stretch \ |
| 265 | debian-debootstrap\:mipsel-stretch \ |
| 266 | debian-debootstrap\:amd64-buster \ |
| 267 | debian-debootstrap\:arm64-buster \ |
| 268 | debian-debootstrap\:armhf-buster \ |
| 269 | debian-debootstrap\:i386-buster \ |
| 270 | debian-debootstrap\:mips-buster \ |
| 271 | debian-debootstrap\:mipsel-buster \ |
| 272 | debian-debootstrap\:ppc64el-buster \ |
| 273 | debian-debootstrap\:amd64-bullseye \ |
| 274 | debian-debootstrap\:armhf-bullseye \ |
| 275 | debian-debootstrap\:i386-bullseye \ |
| 276 | debian-debootstrap\:mipsel-bullseye \ |
| 277 | debian-debootstrap\:ppc64el-bullseye \ |
| 278 | ubuntu-debootstrap\:amd64-bionic \ |
| 279 | ubuntu-debootstrap\:arm64-bionic \ |
| 280 | ubuntu-debootstrap\:i386-bionic \ |
| 281 | ubuntu-debootstrap\:amd64-focal \ |
| 282 | ubuntu-debootstrap\:arm64-focal \ |
| 283 | ubuntu-debootstrap\:armhf-focal \ |
| 284 | ubuntu-debootstrap\:ppc64el-focal \ |
| 285 | ubuntu-debootstrap\:amd64-jammy \ |
| 286 | ubuntu-debootstrap\:arm64-jammy \ |
| 287 | ubuntu-debootstrap\:armhf-jammy \ |
| 288 | ubuntu-debootstrap\:ppc64el-jammy \ |
| 289 | alpine\:aarch64-v3.9 \ |
| 290 | alpine\:amd64-v3.9 \ |
| 291 | alpine\:i386-v3.9 \ |
| 292 | alpine\:aarch64-v3.10 \ |
| 293 | alpine\:amd64-v3.10 \ |
| 294 | alpine\:armhf-v3.10 \ |
| 295 | alpine\:i386-v3.10 \ |
| 296 | alpine\:aarch64-v3.10 \ |
| 297 | alpine\:amd64-v3.10 \ |
| 298 | alpine\:armhf-v3.10 \ |
| 299 | alpine\:i386-v3.10 \ |
| 300 | alpine\:aarch64-v3.12 \ |
| 301 | alpine\:amd64-v3.12 \ |
| 302 | alpine\:i386-v3.12 \ |
| 303 | alpine\:amd64-v3.14 \ |
| 304 | alpine\:i386-v3.14 \ |
| 305 | |
| 306 | # can only run what is still maintained |
| 307 | 12X_TAGS := $(filter $(12X_TAGS),$(ALL_TAGS)) |
| 308 | |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 309 | default: $(DEFAULT_TAGS) |
| 310 | |
| 311 | native: $(NATIVE_TAGS) |
| 312 | |
| 313 | working: $(WORKING_TAGS) |
| 314 | |
| 315 | all: $(ALL_TAGS) |
| 316 | |
| 317 | 1.0.x: export TEST_REVISION=refs/heads/1.0.x |
| 318 | 1.0.x: $(10X_TAGS) |
| 319 | |
| 320 | 1.1.x: export TEST_REVISION=refs/heads/1.1.x |
| 321 | 1.1.x: $(11X_TAGS) |
| 322 | |
Nico Huber | f4a1b5d | 2022-09-27 14:02:36 +0000 | [diff] [blame] | 323 | 1.2.x: export TEST_REVISION=refs/heads/1.2.x |
| 324 | 1.2.x: $(12X_TAGS) |
| 325 | |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 326 | show-default: |
| 327 | @printf "%s\n" $(DEFAULT_TAGS) |
| 328 | |
| 329 | show-native: |
| 330 | @printf "%s\n" $(NATIVE_TAGS) |
| 331 | |
| 332 | show-working: |
| 333 | @printf "%s\n" $(WORKING_TAGS) |
| 334 | |
| 335 | show-all: |
| 336 | @printf "%s\n" $(ALL_TAGS) |
| 337 | |
| 338 | show-1.0.x: |
| 339 | @printf "%s\n" $(10X_TAGS) |
| 340 | |
| 341 | show-1.1.x: |
| 342 | @printf "%s\n" $(11X_TAGS) |
| 343 | |
Nico Huber | f4a1b5d | 2022-09-27 14:02:36 +0000 | [diff] [blame] | 344 | show-1.2.x: |
| 345 | @printf "%s\n" $(12X_TAGS) |
| 346 | |
| 347 | .PHONY: default native all 1.0.x 1.1.x 1.2.x |
| 348 | .PHONY: show-default show-native show-all show-1.0.x show-1.1.x show-1.2.x |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 349 | .PHONY: $(ALL_TAGS) |