How gitlab ci runs git runner on different platforms

is like this, we are responsible for cross-platform SDK development, need to compile code on platforms such as mac, ndk, windows, ios, SDK uses a set of code. I configured .gitlab-ci.yml, in the repository root directory as follows

  job1:
  script: "python build_win.py"

and gitlab-runner is configured on both mac os and windows. The question now is, how do you get the warehouse to specify gitlab-runner, from multiple runner and then runner on windows to execute build_win.py script build_mac.py on, mac os?

Mar.03,2021

. Tags in gitlab-ci.yml can specify which runner to run on

Menu