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