Gitlab-runner local build

Problem to solve

I have a failing build on the CI/CD server, to fix that - I want to build that specific build as specified in the YML file locally - I cannot seem to make it work.

I am trying to followed this example:
Use GitLab CI to run tests locally? - Stack Overflow

The above suggests:
gitlab-runner exec docker my-job-name

I am using GITLAB-RUNNER VERSION:
17.2.0 (6428c288)

I do not use docker and I do not want to use docker. My DEV machine is just fine the way it is…

I could write a python script to parse the YML and create a bash script… then run that…
But I would think this would be something that should already exist…