OSDN Git Service

tests/docker: merge debian-native with debian-amd64
[qmiga/qemu.git] / .gitlab-ci.d / static_checks.yml
1 check-patch:
2   extends: .base_job_template
3   stage: build
4   image: python:3.10-alpine
5   needs: []
6   script:
7     - .gitlab-ci.d/check-patch.py
8   variables:
9     GIT_DEPTH: 1000
10     QEMU_JOB_ONLY_FORKS: 1
11   before_script:
12     - apk -U add git perl
13   allow_failure: true
14
15 check-dco:
16   extends: .base_job_template
17   stage: build
18   image: python:3.10-alpine
19   needs: []
20   script: .gitlab-ci.d/check-dco.py
21   variables:
22     GIT_DEPTH: 1000
23   before_script:
24     - apk -U add git
25
26 check-python-minreqs:
27   extends: .base_job_template
28   stage: test
29   image: $CI_REGISTRY_IMAGE/qemu/python:$QEMU_CI_CONTAINER_TAG
30   script:
31     - make -C python check-minreqs
32   variables:
33     GIT_DEPTH: 1
34   needs:
35     job: python-container
36
37 check-python-tox:
38   extends: .base_job_template
39   stage: test
40   image: $CI_REGISTRY_IMAGE/qemu/python:$QEMU_CI_CONTAINER_TAG
41   script:
42     - make -C python check-tox
43   variables:
44     GIT_DEPTH: 1
45     QEMU_TOX_EXTRA_ARGS: --skip-missing-interpreters=false
46     QEMU_JOB_OPTIONAL: 1
47   needs:
48     job: python-container