Refactor CI/CD config
Summary
Refactor CI/CD config to improve readability and maintainability.
-
buildjob extendscijob. Move shared script tobefore_script. - Single
buildjob using https://docs.gitlab.com/ci/yaml/#parallelmatrix. - Make
GOOSandGOARCHCI variables, always setGOOSexplicitly
Verification
-
Verify branch pipelines ( cijob). -
Verify pipelines for git tags ( buildjob).- See !27 (comment 2814585172)
- Build jobs have been canceled to avoid pushing to the package registry.
- To be double checked after when creating the first git tag after merging.
Next steps
- Rename
cijob. It runsmake checkreally. - Rename
cistage. It looks like this isteststage.
Edited by Fabien Catteau