2023-05-02 16:54:54 +01:00
|
|
|
# All ubuntu-22.04 jobs should run successfully in an environment
|
2024-06-03 18:53:22 +01:00
|
|
|
# setup by the scripts/ci/setup/ubuntu/build-environment.yml task
|
2023-05-02 16:54:54 +01:00
|
|
|
# "Install basic packages to build QEMU on Ubuntu 22.04"
|
2021-11-15 14:29:15 +00:00
|
|
|
|
2022-09-14 16:59:40 +01:00
|
|
|
ubuntu-22.04-aarch64-all-linux-static:
|
2023-02-28 19:06:35 +00:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 14:29:15 +00:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 16:59:40 +01:00
|
|
|
- ubuntu_22.04
|
2021-11-15 14:29:15 +00:00
|
|
|
- aarch64
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
|
|
- if: "$AARCH64_RUNNER_AVAILABLE"
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2022-09-14 16:59:39 +01:00
|
|
|
# Disable -static-pie due to build error with system libc:
|
|
|
|
# https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1987438
|
2022-09-14 16:59:40 +01:00
|
|
|
- ../configure --enable-debug --static --disable-system --disable-pie
|
2022-07-25 15:05:09 +01:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 18:12:58 +01:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2023-01-24 18:01:09 +00:00
|
|
|
- make check-tcg
|
2022-12-21 09:04:07 +00:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|
2021-11-15 14:29:15 +00:00
|
|
|
|
2022-09-14 16:59:40 +01:00
|
|
|
ubuntu-22.04-aarch64-all:
|
2023-02-28 19:06:35 +00:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 14:29:15 +00:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 16:59:40 +01:00
|
|
|
- ubuntu_22.04
|
2021-11-15 14:29:15 +00:00
|
|
|
- aarch64
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
- if: "$AARCH64_RUNNER_AVAILABLE"
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2022-09-14 16:59:40 +01:00
|
|
|
- ../configure
|
2022-07-25 15:05:09 +01:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 18:12:58 +01:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2022-12-21 09:04:07 +00:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|
2021-11-15 14:29:15 +00:00
|
|
|
|
2023-05-02 16:59:17 +01:00
|
|
|
ubuntu-22.04-aarch64-without-defaults:
|
|
|
|
extends: .custom_runner_template
|
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- ubuntu_22.04
|
|
|
|
- aarch64
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
- if: "$AARCH64_RUNNER_AVAILABLE"
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- ../configure --disable-user --without-default-devices --without-default-features
|
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|
|
|
|
|
2022-09-14 16:59:40 +01:00
|
|
|
ubuntu-22.04-aarch64-alldbg:
|
2023-02-28 19:06:35 +00:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 14:29:15 +00:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 16:59:40 +01:00
|
|
|
- ubuntu_22.04
|
2021-11-15 14:29:15 +00:00
|
|
|
- aarch64
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
|
|
- if: "$AARCH64_RUNNER_AVAILABLE"
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2022-09-14 16:59:40 +01:00
|
|
|
- ../configure --enable-debug
|
2022-07-25 15:05:09 +01:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2021-11-15 14:29:15 +00:00
|
|
|
- make clean
|
2022-06-13 18:12:58 +01:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2022-12-21 09:04:07 +00:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|
2021-11-15 14:29:15 +00:00
|
|
|
|
2022-09-14 16:59:40 +01:00
|
|
|
ubuntu-22.04-aarch64-clang:
|
2023-02-28 19:06:35 +00:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 14:29:15 +00:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 16:59:40 +01:00
|
|
|
- ubuntu_22.04
|
2021-11-15 14:29:15 +00:00
|
|
|
- aarch64
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
- if: "$AARCH64_RUNNER_AVAILABLE"
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2024-08-13 19:52:15 +10:00
|
|
|
- ../configure --disable-libssh --cc=clang --cxx=clang++ --enable-ubsan
|
2022-07-25 15:05:09 +01:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 18:12:58 +01:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2022-12-21 09:04:07 +00:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|
2021-11-15 14:29:15 +00:00
|
|
|
|
2022-09-14 16:59:40 +01:00
|
|
|
ubuntu-22.04-aarch64-tci:
|
2021-11-15 14:29:15 +00:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 16:59:40 +01:00
|
|
|
- ubuntu_22.04
|
2021-11-15 14:29:15 +00:00
|
|
|
- aarch64
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
- if: "$AARCH64_RUNNER_AVAILABLE"
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2022-09-14 16:59:40 +01:00
|
|
|
- ../configure --enable-tcg-interpreter
|
2022-07-25 15:05:09 +01:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 18:12:58 +01:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2021-11-15 14:29:15 +00:00
|
|
|
|
2022-09-14 16:59:40 +01:00
|
|
|
ubuntu-22.04-aarch64-notcg:
|
2023-02-28 19:06:35 +00:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 14:29:15 +00:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 16:59:40 +01:00
|
|
|
- ubuntu_22.04
|
2021-11-15 14:29:15 +00:00
|
|
|
- aarch64
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
- if: "$AARCH64_RUNNER_AVAILABLE"
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2023-05-02 17:20:46 +01:00
|
|
|
- ../configure --disable-tcg --with-devices-aarch64=minimal
|
2022-07-25 15:05:09 +01:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 18:12:58 +01:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2022-12-21 09:04:07 +00:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|