testing and gitlab updates: - present a dev friendly cmd line in functional test logs - tell pylint to skip c-modules - widen the capture of functional tests logs in gitlab - remove workaround for MacOS build targets - update the gitlab bug template for security process # -----BEGIN PGP SIGNATURE----- # # iQEzBAABCgAdFiEEZoWumedRZ7yvyN81+9DbCVqeKkQFAmo6W8MACgkQ+9DbCVqe # KkRwDwf+NiRSwHfbjVSPOWws8wVSZHcgzeArHPsXtYrebi+rX9+l+bdIeRNFTfDX # +6FvA5lWMbIB+pNFAkPdtjvpzzmV+tjaer6lR//0riF4Ch3TufYHhDVIjuvJaI/d # mvsVUAFCS6AMb9sdky2mGA8SHeO5dV7XqMquTOH/tfs/M3PuLFMj8qcVFzXlmC79 # pzbpahCSJsclFj8traFYiAR2ofGXUH2PkW5aEctD1LnyAbGEHdEO8vR3KKB7ysHA # OySKG0IXTBmyH03rZ9WHskVlH/xVZjo+FPro0moduTVOLeCksNBnuxdmKJKvPVVy # vSrF/TOjZbmgg9vVlGULFNKTu3VlAQ== # =2LgM # -----END PGP SIGNATURE----- # gpg: Signature made Tue 23 Jun 2026 06:11:15 EDT # gpg: using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44 # gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>" [unknown] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: 6685 AE99 E751 67BC AFC8 DF35 FBD0 DB09 5A9E 2A44 * tag 'pull-11.1-testing-updates-230626-1' of https://gitlab.com/stsquad/qemu: gitlab: update bug template for sec issues & tool assistance gitlab: remove build target hacks gitlab: ensure "check-XXX' jobs capture functional test logs tests/functional: tell pylint not to check c-modules python/qemu: dump a developer friendly version of cmdline to logs python/qemu: split console from harness args python/qemu: split arg between base and harness lists Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
66 lines
2.2 KiB
YAML
66 lines
2.2 KiB
YAML
.macos_job_template:
|
|
extends: .base_job_template
|
|
stage: build
|
|
tags:
|
|
- saas-macos-large-m2pro
|
|
needs: []
|
|
timeout: 80m
|
|
artifacts:
|
|
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
|
|
expire_in: 7 days
|
|
paths:
|
|
- build/meson-logs/
|
|
- build/tests/tcg/
|
|
reports:
|
|
junit: build/meson-logs/*.junit.xml
|
|
when: always
|
|
before_script:
|
|
- set -o allexport
|
|
- source .gitlab-ci.d/macos-14.vars
|
|
- set +o allexport
|
|
- export PATH="$PATH_EXTRA:$PATH"
|
|
- export PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
|
|
- brew update
|
|
- brew install $PKGS
|
|
- brew install gdb aarch64-elf-gcc i686-elf-gcc x86_64-elf-gcc
|
|
- if test -n "$PYPI_PKGS" ; then PYLIB=$($PYTHON -c 'import sysconfig; print(sysconfig.get_path("stdlib"))'); rm -f $PYLIB/EXTERNALLY-MANAGED; $PIP3 install --break-system-packages $PYPI_PKGS ; fi
|
|
script:
|
|
- mkdir build
|
|
- cd build
|
|
- ../configure --enable-werror $CONFIGURE_ARGS || { cat config.log meson-logs/meson-log.txt; exit 1; }
|
|
- $MAKE -j$(sysctl -n hw.ncpu)
|
|
- for TARGET in $TEST_TARGETS ; do $MAKE $TARGET ; done
|
|
|
|
aarch64-macos-15-build:
|
|
extends: .macos_job_template
|
|
image: macos-15-xcode-16
|
|
variables:
|
|
QEMU_JOB_MACOS: 1
|
|
NAME: macos-15
|
|
PATH_EXTRA: /opt/homebrew/gettext/bin
|
|
PKG_CONFIG_PATH: /opt/homebrew/curl/lib/pkgconfig:/opt/homebrew/ncurses/lib/pkgconfig:/opt/homebrew/readline/lib/pkgconfig
|
|
CONFIGURE_ARGS:
|
|
--target-list=aarch64-softmmu,i386-softmmu,x86_64-softmmu
|
|
--cross-prefix-aarch64=aarch64-elf-
|
|
--cross-prefix-i386=i686-elf-
|
|
--cross-prefix-x86_64=x86_64-elf-
|
|
--disable-plugins
|
|
TEST_TARGETS: check-unit check-tcg
|
|
|
|
aarch64-macos-26-build:
|
|
extends: .macos_job_template
|
|
image: macos-26-xcode-26
|
|
variables:
|
|
QEMU_JOB_MACOS: 1
|
|
NAME: macos-26
|
|
DYLD_LIBRARY_PATH: /opt/homebrew/opt/expat/lib/
|
|
PATH_EXTRA: /opt/homebrew/gettext/bin
|
|
PKG_CONFIG_PATH: /opt/homebrew/curl/lib/pkgconfig:/opt/homebrew/ncurses/lib/pkgconfig:/opt/homebrew/readline/lib/pkgconfig
|
|
CONFIGURE_ARGS:
|
|
--target-list=aarch64-softmmu,i386-softmmu,x86_64-softmmu
|
|
--cross-prefix-aarch64=aarch64-elf-
|
|
--cross-prefix-i386=i686-elf-
|
|
--cross-prefix-x86_64=x86_64-elf-
|
|
--disable-plugins
|
|
TEST_TARGETS: check-unit check-tcg
|