ghcup-metadata: In nightly pipelines, still generate the metadata even if some of the jobs fail
At the moment if one of the jobs fails (ie Centos7) then the metadata generation script fails to run. We should instead for the nightly builds just omit that part of the metadata if the relevant job doesn't exist, so the nightly can still be uploaded for all the platforms where things do work.
This would have fall-out effects later on in the pipeline when the metadata we generated is tested (ghcup-ci
) but if this situation happens then the pipeline will already be failing.
OTOH, this might just be a bad idea because if you are trying to rely on the nightly pipelines it could be a bit unpredictable which bindist ghcup will try and install as if your "normal" bindist isn't available it will try the fallback (rocky8) which may or may not work for your platform.
We should at least requires that certain platforms pass CI (these ones are tested on normal validate pipelines anyway):
- darwin (x86/aarch64)
- windows
- fedora33
- deb10
- rocky8 (the fallback)
cc @maerwald who requested this.