1b38a04f7SCleber Rosa# The CI jobs defined here require GitLab runners installed and
2b38a04f7SCleber Rosa# registered on machines that match their operating system names,
3b38a04f7SCleber Rosa# versions and architectures.  This is in contrast to the other CI
4b38a04f7SCleber Rosa# jobs that are intended to run on GitLab's "shared" runners.
5b38a04f7SCleber Rosa
6b38a04f7SCleber Rosa# Different than the default approach on "shared" runners, based on
7b38a04f7SCleber Rosa# containers, the custom runners have no such *requirement*, as those
8b38a04f7SCleber Rosa# jobs should be capable of running on operating systems with no
9b38a04f7SCleber Rosa# compatible container implementation, or no support from
10b38a04f7SCleber Rosa# gitlab-runner.  To avoid problems that gitlab-runner can cause while
11b38a04f7SCleber Rosa# reusing the GIT repository, let's enable the clone strategy, which
12b38a04f7SCleber Rosa# guarantees a fresh repository on each job run.
13b38a04f7SCleber Rosavariables:
14b38a04f7SCleber Rosa  GIT_STRATEGY: clone
154799c210SCleber Rosa
166e890b05SAlex Bennée# All custom runners can extend this template to upload the testlog
176e890b05SAlex Bennée# data as an artifact and also feed the junit report
1887168ef0SAlex Bennée.custom_runner_template:
1987168ef0SAlex Bennée  extends: .base_job_template
206e890b05SAlex Bennée  artifacts:
216e890b05SAlex Bennée    name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
226e890b05SAlex Bennée    expire_in: 7 days
23*9fd9f395SPaolo Bonzini    when: always
246e890b05SAlex Bennée    paths:
25*9fd9f395SPaolo Bonzini      - build/build.ninja
26*9fd9f395SPaolo Bonzini      - build/meson-logs
276e890b05SAlex Bennée    reports:
286e890b05SAlex Bennée      junit: build/meson-logs/testlog.junit.xml
296e890b05SAlex Bennée
3060bec83eSPhilippe Mathieu-Daudéinclude:
317dc17ff7SAlex Bennée  - local: '/.gitlab-ci.d/custom-runners/ubuntu-20.04-s390x.yml'
3266dca267SAlex Bennée  - local: '/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml'
3366dca267SAlex Bennée  - local: '/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml'
3460bec83eSPhilippe Mathieu-Daudé  - local: '/.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml'
35