2021-11-15 17:29:15 +03:00
|
|
|
# All ubuntu-20.04 jobs should run successfully in an environment
|
|
|
|
# setup by the scripts/ci/setup/qemu/build-environment.yml task
|
2022-05-16 14:59:12 +03:00
|
|
|
# "Install basic packages to build QEMU on Ubuntu 20.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
|
|
|
|
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
|
2023-01-24 21:00:55 +03:00
|
|
|
- ../configure --disable-libssh --cc=clang --cxx=clang++ --enable-sanitizers
|
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
|
2022-09-14 18:59:40 +03:00
|
|
|
- ../configure --disable-tcg
|
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
|