2023-05-02 18:54:54 +03:00
|
|
|
# All ubuntu-22.04 jobs should run successfully in an environment
|
2024-06-03 20:53:22 +03:00
|
|
|
# setup by the scripts/ci/setup/ubuntu/build-environment.yml task
|
2023-05-02 18:54:54 +03:00
|
|
|
# "Install basic packages to build QEMU on Ubuntu 22.04"
|
2021-11-15 17:29:15 +03:00
|
|
|
|
2022-09-14 18:59:40 +03:00
|
|
|
ubuntu-22.04-aarch64-all-linux-static:
|
2023-02-28 22:06:35 +03:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 17:29:15 +03:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 18:59:40 +03:00
|
|
|
- ubuntu_22.04
|
2021-11-15 17:29:15 +03: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 18:59:39 +03:00
|
|
|
# Disable -static-pie due to build error with system libc:
|
|
|
|
# https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1987438
|
2022-09-14 18:59:40 +03:00
|
|
|
- ../configure --enable-debug --static --disable-system --disable-pie
|
2022-07-25 17:05:09 +03:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 20:12:58 +03:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2023-01-24 21:01:09 +03:00
|
|
|
- make check-tcg
|
2022-12-21 12:04:07 +03:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|
2021-11-15 17:29:15 +03:00
|
|
|
|
2022-09-14 18:59:40 +03:00
|
|
|
ubuntu-22.04-aarch64-all:
|
2023-02-28 22:06:35 +03:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 17:29:15 +03:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 18:59:40 +03:00
|
|
|
- ubuntu_22.04
|
2021-11-15 17:29:15 +03: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 18:59:40 +03:00
|
|
|
- ../configure
|
2022-07-25 17:05:09 +03:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 20:12:58 +03:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2022-12-21 12:04:07 +03:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|
2021-11-15 17:29:15 +03:00
|
|
|
|
2023-05-02 18:59:17 +03: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 18:59:40 +03:00
|
|
|
ubuntu-22.04-aarch64-alldbg:
|
2023-02-28 22:06:35 +03:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 17:29:15 +03:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 18:59:40 +03:00
|
|
|
- ubuntu_22.04
|
2021-11-15 17:29:15 +03: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 18:59:40 +03:00
|
|
|
- ../configure --enable-debug
|
2022-07-25 17:05:09 +03:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2021-11-15 17:29:15 +03:00
|
|
|
- make clean
|
2022-06-13 20:12:58 +03:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2022-12-21 12:04:07 +03:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|
2021-11-15 17:29:15 +03:00
|
|
|
|
2022-09-14 18:59:40 +03:00
|
|
|
ubuntu-22.04-aarch64-clang:
|
2023-02-28 22:06:35 +03:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 17:29:15 +03:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 18:59:40 +03:00
|
|
|
- ubuntu_22.04
|
2021-11-15 17:29:15 +03: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 12:52:15 +03:00
|
|
|
- ../configure --disable-libssh --cc=clang --cxx=clang++ --enable-ubsan
|
2022-07-25 17:05:09 +03:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 20:12:58 +03:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2022-12-21 12:04:07 +03:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|
2021-11-15 17:29:15 +03:00
|
|
|
|
2022-09-14 18:59:40 +03:00
|
|
|
ubuntu-22.04-aarch64-tci:
|
2021-11-15 17:29:15 +03:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 18:59:40 +03:00
|
|
|
- ubuntu_22.04
|
2021-11-15 17:29:15 +03: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 18:59:40 +03:00
|
|
|
- ../configure --enable-tcg-interpreter
|
2022-07-25 17:05:09 +03:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 20:12:58 +03:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2021-11-15 17:29:15 +03:00
|
|
|
|
2022-09-14 18:59:40 +03:00
|
|
|
ubuntu-22.04-aarch64-notcg:
|
2023-02-28 22:06:35 +03:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 17:29:15 +03:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 18:59:40 +03:00
|
|
|
- ubuntu_22.04
|
2021-11-15 17:29:15 +03: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 19:20:46 +03:00
|
|
|
- ../configure --disable-tcg --with-devices-aarch64=minimal
|
2022-07-25 17:05:09 +03:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 20:12:58 +03:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2022-12-21 12:04:07 +03:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|