Specify System on gitlab-ci.yaml


Specify the system the ci should run on like github actions

in github actions we can use(learn more):

   runs-on: ubuntu-latest

is there any way to specify the system I want to run the ci on when using gitlab ci on gitlab.com?
I have a project hosted on gitlab.com and I would like to run some ci pipelines on a specific system like macos or windows, can I specify that? do I need self-hosted runners or does gitlab provide those too?

What version are you on? Are you using self-managed or GitLab.com?

  • GitLab: GitLab Enterprise Edition 15.2.0-pre on gitlab.com

What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?*

  • I have searched the documentation however I can only find things for running gitlab ci runners on different systems

thank you for reading my request