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