2022-02-25 18:20:18 +01:00
|
|
|
# All ubuntu-20.04 jobs should run successfully in an environment
|
2021-11-15 15:29:15 +01:00
|
|
|
# setup by the scripts/ci/setup/build-environment.yml task
|
2022-02-25 18:20:18 +01:00
|
|
|
# "Install basic packages to build QEMU on Ubuntu 20.04/20.04"
|
2021-11-15 15:29:15 +01:00
|
|
|
|
2022-02-25 18:20:18 +01:00
|
|
|
ubuntu-20.04-s390x-all-linux-static:
|
2023-02-28 20:06:35 +01:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 15:29:15 +01:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-02-25 18:20:18 +01:00
|
|
|
- ubuntu_20.04
|
2021-11-15 15:29:15 +01:00
|
|
|
- s390x
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
|
|
- if: "$S390X_RUNNER_AVAILABLE"
|
|
|
|
script:
|
|
|
|
# --disable-libssh is needed because of https://bugs.launchpad.net/qemu/+bug/1838763
|
|
|
|
# --disable-glusterfs is needed because there's no static version of those libs in distro supplied packages
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- ../configure --enable-debug --static --disable-system --disable-glusterfs --disable-libssh
|
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 --output-sync -j`nproc`
|
2023-01-24 19:01:09 +01:00
|
|
|
- make --output-sync check-tcg
|
2022-12-21 10:04:07 +01:00
|
|
|
- make --output-sync -j`nproc` check
|
2021-11-15 15:29:15 +01:00
|
|
|
|
2022-02-25 18:20:18 +01:00
|
|
|
ubuntu-20.04-s390x-all:
|
2023-02-28 20:06:35 +01:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 15:29:15 +01:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-02-25 18:20:18 +01:00
|
|
|
- ubuntu_20.04
|
2021-11-15 15:29:15 +01:00
|
|
|
- s390x
|
2022-06-06 20:24:36 +02:00
|
|
|
timeout: 75m
|
2021-11-15 15:29:15 +01:00
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
|
|
- if: "$S390X_RUNNER_AVAILABLE"
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- ../configure --disable-libssh
|
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 --output-sync -j`nproc`
|
2022-12-21 10:04:07 +01:00
|
|
|
- make --output-sync -j`nproc` check
|
2021-11-15 15:29:15 +01:00
|
|
|
|
2022-02-25 18:20:18 +01:00
|
|
|
ubuntu-20.04-s390x-alldbg:
|
2023-02-28 20:06:35 +01:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 15:29:15 +01:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-02-25 18:20:18 +01:00
|
|
|
- ubuntu_20.04
|
2021-11-15 15:29:15 +01:00
|
|
|
- s390x
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
- if: "$S390X_RUNNER_AVAILABLE"
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- ../configure --enable-debug --disable-libssh
|
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
|
|
|
|
- make --output-sync -j`nproc`
|
2022-12-21 10:04:07 +01:00
|
|
|
- make --output-sync -j`nproc` check
|
2021-11-15 15:29:15 +01:00
|
|
|
|
2022-02-25 18:20:18 +01:00
|
|
|
ubuntu-20.04-s390x-clang:
|
2023-02-28 20:06:35 +01:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 15:29:15 +01:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-02-25 18:20:18 +01:00
|
|
|
- ubuntu_20.04
|
2021-11-15 15:29:15 +01:00
|
|
|
- s390x
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
- if: "$S390X_RUNNER_AVAILABLE"
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- ../configure --disable-libssh --cc=clang --cxx=clang++ --enable-sanitizers
|
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 --output-sync -j`nproc`
|
2022-12-21 10:04:07 +01:00
|
|
|
- make --output-sync -j`nproc` check
|
2021-11-15 15:29:15 +01:00
|
|
|
|
2022-02-25 18:20:18 +01:00
|
|
|
ubuntu-20.04-s390x-tci:
|
2021-11-15 15:29:15 +01:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-02-25 18:20:18 +01:00
|
|
|
- ubuntu_20.04
|
2021-11-15 15:29:15 +01:00
|
|
|
- s390x
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
- if: "$S390X_RUNNER_AVAILABLE"
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- ../configure --disable-libssh --enable-tcg-interpreter
|
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 --output-sync -j`nproc`
|
|
|
|
|
2022-02-25 18:20:18 +01:00
|
|
|
ubuntu-20.04-s390x-notcg:
|
2023-02-28 20:06:35 +01:00
|
|
|
extends: .custom_runner_template
|
2021-11-15 15:29:15 +01:00
|
|
|
needs: []
|
|
|
|
stage: build
|
|
|
|
tags:
|
2022-02-25 18:20:18 +01:00
|
|
|
- ubuntu_20.04
|
2021-11-15 15:29:15 +01:00
|
|
|
- s390x
|
|
|
|
rules:
|
|
|
|
- if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
- if: "$S390X_RUNNER_AVAILABLE"
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- ../configure --disable-libssh --disable-tcg
|
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 --output-sync -j`nproc`
|
2022-12-21 10:04:07 +01:00
|
|
|
- make --output-sync -j`nproc` check
|