Remove Ubuntu 18.04 container support from the repository
[qemu/ar7.git] / .gitlab-ci.d / custom-runners / ubuntu-20.04-aarch64.yml
blob951e490db1f2562adad9044b83a77a8c834ded8d
1 # All ubuntu-20.04 jobs should run successfully in an environment
2 # setup by the scripts/ci/setup/qemu/build-environment.yml task
3 # "Install basic packages to build QEMU on Ubuntu 20.04"
5 ubuntu-20.04-aarch64-all-linux-static:
6  needs: []
7  stage: build
8  tags:
9  - ubuntu_20.04
10  - aarch64
11  rules:
12  - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
13  - if: "$AARCH64_RUNNER_AVAILABLE"
14  script:
15  # --disable-libssh is needed because of https://bugs.launchpad.net/qemu/+bug/1838763
16  # --disable-glusterfs is needed because there's no static version of those libs in distro supplied packages
17  - mkdir build
18  - cd build
19  - ../configure --enable-debug --static --disable-system --disable-glusterfs --disable-libssh
20  - make --output-sync -j`nproc`
21  - make --output-sync -j`nproc` check V=1
22  - make --output-sync -j`nproc` check-tcg V=1
24 ubuntu-20.04-aarch64-all:
25  needs: []
26  stage: build
27  tags:
28  - ubuntu_20.04
29  - aarch64
30  rules:
31  - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
32    when: manual
33    allow_failure: true
34  - if: "$AARCH64_RUNNER_AVAILABLE"
35    when: manual
36    allow_failure: true
37  script:
38  - mkdir build
39  - cd build
40  - ../configure --disable-libssh
41  - make --output-sync -j`nproc`
42  - make --output-sync -j`nproc` check V=1
44 ubuntu-20.04-aarch64-alldbg:
45  needs: []
46  stage: build
47  tags:
48  - ubuntu_20.04
49  - aarch64
50  rules:
51  - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
52  - if: "$AARCH64_RUNNER_AVAILABLE"
53  script:
54  - mkdir build
55  - cd build
56  - ../configure --enable-debug --disable-libssh
57  - make clean
58  - make --output-sync -j`nproc`
59  - make --output-sync -j`nproc` check V=1
61 ubuntu-20.04-aarch64-clang:
62  needs: []
63  stage: build
64  tags:
65  - ubuntu_20.04
66  - aarch64
67  rules:
68  - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
69    when: manual
70    allow_failure: true
71  - if: "$AARCH64_RUNNER_AVAILABLE"
72    when: manual
73    allow_failure: true
74  script:
75  - mkdir build
76  - cd build
77  - ../configure --disable-libssh --cc=clang-10 --cxx=clang++-10 --enable-sanitizers
78  - make --output-sync -j`nproc`
79  - make --output-sync -j`nproc` check V=1
81 ubuntu-20.04-aarch64-tci:
82  needs: []
83  stage: build
84  tags:
85  - ubuntu_20.04
86  - aarch64
87  rules:
88  - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
89    when: manual
90    allow_failure: true
91  - if: "$AARCH64_RUNNER_AVAILABLE"
92    when: manual
93    allow_failure: true
94  script:
95  - mkdir build
96  - cd build
97  - ../configure --disable-libssh --enable-tcg-interpreter
98  - make --output-sync -j`nproc`
100 ubuntu-20.04-aarch64-notcg:
101  needs: []
102  stage: build
103  tags:
104  - ubuntu_20.04
105  - aarch64
106  rules:
107  - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
108    when: manual
109    allow_failure: true
110  - if: "$AARCH64_RUNNER_AVAILABLE"
111    when: manual
112    allow_failure: true
113  script:
114  - mkdir build
115  - cd build
116  - ../configure --disable-libssh --disable-tcg
117  - make --output-sync -j`nproc`
118  - make --output-sync -j`nproc` check V=1