Our C++ project's existing .gitlab-ci.yml reads simply:
executable:
stage: build
tags:
- C++
- Boost
script:
- gmake -C src -j11
artifacts:
name: the executable
paths:
- src/executable
This will build on any runner tagged with "C++" and "Boost" -- so far so good. However, we need it built for different OS-versions -- with runners having additional tags like "rhel7", "rhel8", or "freebsd14". The artifacts from such different builds need to be archived separately too.
How is this done?