blob: 13e14a0f87946a2a7f5bd53df21d4ae4269b366d [file] [log] [blame]
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +00001# All ubuntu-20.04 jobs should run successfully in an environment
2# setup by the scripts/ci/setup/qemu/build-environment.yml task
Thomas Huthf3f0cba2022-05-16 13:59:12 +02003# "Install basic packages to build QEMU on Ubuntu 20.04"
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +00004
Alex Bennée66dca262022-09-14 16:59:40 +01005ubuntu-22.04-aarch64-all-linux-static:
Alex Bennée87168ef2023-02-28 19:06:35 +00006 extends: .custom_runner_template
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +00007 needs: []
8 stage: build
9 tags:
Alex Bennée66dca262022-09-14 16:59:40 +010010 - ubuntu_22.04
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000011 - aarch64
12 rules:
13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
14 - if: "$AARCH64_RUNNER_AVAILABLE"
15 script:
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000016 - mkdir build
17 - cd build
Richard Henderson45e1b742022-09-14 16:59:39 +010018 # Disable -static-pie due to build error with system libc:
19 # https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1987438
Alex Bennée66dca262022-09-14 16:59:40 +010020 - ../configure --enable-debug --static --disable-system --disable-pie
Daniel P. Berrangé998f3342022-07-25 15:05:09 +010021 || { cat config.log meson-logs/meson-log.txt; exit 1; }
Alex Bennéeb56d1ee2022-06-13 18:12:58 +010022 - make --output-sync -j`nproc --ignore=40`
Alex Bennée6e890b02023-01-24 18:01:09 +000023 - make check-tcg
Alex Bennéefb83fd32022-12-21 09:04:07 +000024 - make --output-sync -j`nproc --ignore=40` check
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000025
Alex Bennée66dca262022-09-14 16:59:40 +010026ubuntu-22.04-aarch64-all:
Alex Bennée87168ef2023-02-28 19:06:35 +000027 extends: .custom_runner_template
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000028 needs: []
29 stage: build
30 tags:
Alex Bennée66dca262022-09-14 16:59:40 +010031 - ubuntu_22.04
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000032 - aarch64
33 rules:
34 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
35 when: manual
36 allow_failure: true
37 - if: "$AARCH64_RUNNER_AVAILABLE"
38 when: manual
39 allow_failure: true
40 script:
41 - mkdir build
42 - cd build
Alex Bennée66dca262022-09-14 16:59:40 +010043 - ../configure
Daniel P. Berrangé998f3342022-07-25 15:05:09 +010044 || { cat config.log meson-logs/meson-log.txt; exit 1; }
Alex Bennéeb56d1ee2022-06-13 18:12:58 +010045 - make --output-sync -j`nproc --ignore=40`
Alex Bennéefb83fd32022-12-21 09:04:07 +000046 - make --output-sync -j`nproc --ignore=40` check
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000047
Alex Bennée66dca262022-09-14 16:59:40 +010048ubuntu-22.04-aarch64-alldbg:
Alex Bennée87168ef2023-02-28 19:06:35 +000049 extends: .custom_runner_template
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000050 needs: []
51 stage: build
52 tags:
Alex Bennée66dca262022-09-14 16:59:40 +010053 - ubuntu_22.04
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000054 - aarch64
55 rules:
56 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
57 - if: "$AARCH64_RUNNER_AVAILABLE"
58 script:
59 - mkdir build
60 - cd build
Alex Bennée66dca262022-09-14 16:59:40 +010061 - ../configure --enable-debug
Daniel P. Berrangé998f3342022-07-25 15:05:09 +010062 || { cat config.log meson-logs/meson-log.txt; exit 1; }
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000063 - make clean
Alex Bennéeb56d1ee2022-06-13 18:12:58 +010064 - make --output-sync -j`nproc --ignore=40`
Alex Bennéefb83fd32022-12-21 09:04:07 +000065 - make --output-sync -j`nproc --ignore=40` check
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000066
Alex Bennée66dca262022-09-14 16:59:40 +010067ubuntu-22.04-aarch64-clang:
Alex Bennée87168ef2023-02-28 19:06:35 +000068 extends: .custom_runner_template
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000069 needs: []
70 stage: build
71 tags:
Alex Bennée66dca262022-09-14 16:59:40 +010072 - ubuntu_22.04
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000073 - aarch64
74 rules:
75 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
76 when: manual
77 allow_failure: true
78 - if: "$AARCH64_RUNNER_AVAILABLE"
79 when: manual
80 allow_failure: true
81 script:
82 - mkdir build
83 - cd build
Alex Bennéec34bf192023-01-24 18:00:55 +000084 - ../configure --disable-libssh --cc=clang --cxx=clang++ --enable-sanitizers
Daniel P. Berrangé998f3342022-07-25 15:05:09 +010085 || { cat config.log meson-logs/meson-log.txt; exit 1; }
Alex Bennéeb56d1ee2022-06-13 18:12:58 +010086 - make --output-sync -j`nproc --ignore=40`
Alex Bennéefb83fd32022-12-21 09:04:07 +000087 - make --output-sync -j`nproc --ignore=40` check
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000088
Alex Bennée66dca262022-09-14 16:59:40 +010089ubuntu-22.04-aarch64-tci:
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000090 needs: []
91 stage: build
92 tags:
Alex Bennée66dca262022-09-14 16:59:40 +010093 - ubuntu_22.04
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +000094 - aarch64
95 rules:
96 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
97 when: manual
98 allow_failure: true
99 - if: "$AARCH64_RUNNER_AVAILABLE"
100 when: manual
101 allow_failure: true
102 script:
103 - mkdir build
104 - cd build
Alex Bennée66dca262022-09-14 16:59:40 +0100105 - ../configure --enable-tcg-interpreter
Daniel P. Berrangé998f3342022-07-25 15:05:09 +0100106 || { cat config.log meson-logs/meson-log.txt; exit 1; }
Alex Bennéeb56d1ee2022-06-13 18:12:58 +0100107 - make --output-sync -j`nproc --ignore=40`
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +0000108
Alex Bennée66dca262022-09-14 16:59:40 +0100109ubuntu-22.04-aarch64-notcg:
Alex Bennée87168ef2023-02-28 19:06:35 +0000110 extends: .custom_runner_template
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +0000111 needs: []
112 stage: build
113 tags:
Alex Bennée66dca262022-09-14 16:59:40 +0100114 - ubuntu_22.04
Philippe Mathieu-Daudé60bec832021-11-15 14:29:15 +0000115 - aarch64
116 rules:
117 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
118 when: manual
119 allow_failure: true
120 - if: "$AARCH64_RUNNER_AVAILABLE"
121 when: manual
122 allow_failure: true
123 script:
124 - mkdir build
125 - cd build
Alex Bennée66dca262022-09-14 16:59:40 +0100126 - ../configure --disable-tcg
Daniel P. Berrangé998f3342022-07-25 15:05:09 +0100127 || { cat config.log meson-logs/meson-log.txt; exit 1; }
Alex Bennéeb56d1ee2022-06-13 18:12:58 +0100128 - make --output-sync -j`nproc --ignore=40`
Alex Bennéefb83fd32022-12-21 09:04:07 +0000129 - make --output-sync -j`nproc --ignore=40` check