2021-11-15 15:29:15 +01: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 13:59:12 +02:00
|
|
|
# "Install basic packages to build QEMU on Ubuntu 20.04"
|
2021-11-15 15:29:15 +01:00
|
|
|
|
2022-09-14 17:59:40 +02:00
|
|
|
ubuntu-22.04-aarch64-all-linux-static:
|
2021-11-15 15:29:15 +01:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 17:59:40 +02:00
|
|
|
- ubuntu_22.04
|
2021-11-15 15:29:15 +01: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 17:59:39 +02:00
|
|
|
# Disable -static-pie due to build error with system libc:
|
|
|
|
# https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1987438
|
2022-09-14 17:59:40 +02:00
|
|
|
- ../configure --enable-debug --static --disable-system --disable-pie
|
2022-07-25 16:05:09 +02:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 19:12:58 +02:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2022-12-21 10:04:07 +01:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|
2022-07-25 16:05:09 +02:00
|
|
|
|| { cat meson-logs/testlog.txt; exit 1; } ;
|
2022-12-21 10:04:07 +01:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check-tcg
|
2022-07-25 16:05:09 +02:00
|
|
|
|| { cat meson-logs/testlog.txt; exit 1; } ;
|
2021-11-15 15:29:15 +01:00
|
|
|
|
2022-09-14 17:59:40 +02:00
|
|
|
ubuntu-22.04-aarch64-all:
|
2021-11-15 15:29:15 +01:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 17:59:40 +02:00
|
|
|
- ubuntu_22.04
|
2021-11-15 15:29:15 +01: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 17:59:40 +02:00
|
|
|
- ../configure
|
2022-07-25 16:05:09 +02:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 19:12:58 +02:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2022-12-21 10:04:07 +01:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|
2022-07-25 16:05:09 +02:00
|
|
|
|| { cat meson-logs/testlog.txt; exit 1; } ;
|
2021-11-15 15:29:15 +01:00
|
|
|
|
2022-09-14 17:59:40 +02:00
|
|
|
ubuntu-22.04-aarch64-alldbg:
|
2021-11-15 15:29:15 +01:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 17:59:40 +02:00
|
|
|
- ubuntu_22.04
|
2021-11-15 15:29:15 +01: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 17:59:40 +02:00
|
|
|
- ../configure --enable-debug
|
2022-07-25 16:05:09 +02:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2021-11-15 15:29:15 +01:00
|
|
|
- make clean
|
2022-06-13 19:12:58 +02:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2022-12-21 10:04:07 +01:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|
2022-07-25 16:05:09 +02:00
|
|
|
|| { cat meson-logs/testlog.txt; exit 1; } ;
|
2021-11-15 15:29:15 +01:00
|
|
|
|
2022-09-14 17:59:40 +02:00
|
|
|
ubuntu-22.04-aarch64-clang:
|
2021-11-15 15:29:15 +01:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 17:59:40 +02:00
|
|
|
- ubuntu_22.04
|
2021-11-15 15:29:15 +01: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
|
|
|
|
- ../configure --disable-libssh --cc=clang-10 --cxx=clang++-10 --enable-sanitizers
|
2022-07-25 16:05:09 +02:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 19:12:58 +02:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2022-12-21 10:04:07 +01:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|
2022-07-25 16:05:09 +02:00
|
|
|
|| { cat meson-logs/testlog.txt; exit 1; } ;
|
2021-11-15 15:29:15 +01:00
|
|
|
|
2022-09-14 17:59:40 +02:00
|
|
|
ubuntu-22.04-aarch64-tci:
|
2021-11-15 15:29:15 +01:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 17:59:40 +02:00
|
|
|
- ubuntu_22.04
|
2021-11-15 15:29:15 +01: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 17:59:40 +02:00
|
|
|
- ../configure --enable-tcg-interpreter
|
2022-07-25 16:05:09 +02:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 19:12:58 +02:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2021-11-15 15:29:15 +01:00
|
|
|
|
2022-09-14 17:59:40 +02:00
|
|
|
ubuntu-22.04-aarch64-notcg:
|
2021-11-15 15:29:15 +01:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-09-14 17:59:40 +02:00
|
|
|
- ubuntu_22.04
|
2021-11-15 15:29:15 +01: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 17:59:40 +02:00
|
|
|
- ../configure --disable-tcg
|
2022-07-25 16:05:09 +02:00
|
|
|
|| { cat config.log meson-logs/meson-log.txt; exit 1; }
|
2022-06-13 19:12:58 +02:00
|
|
|
- make --output-sync -j`nproc --ignore=40`
|
2022-12-21 10:04:07 +01:00
|
|
|
- make --output-sync -j`nproc --ignore=40` check
|
2022-07-25 16:05:09 +02:00
|
|
|
|| { cat meson-logs/testlog.txt; exit 1; } ;
|