historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/slirp/.gitlab-ci.yml
2024-01-16 11:20:27 -06:00

27 lines
678 B
YAML

image: fedora:latest
variables:
DEPS: meson ninja-build make
gcc pkg-config glib2-devel
mingw64-gcc mingw64-pkg-config mingw64-glib2
clang-analyzer git-core
before_script:
- dnf install -y $DEPS
- git describe
build:
script:
- meson --werror build || (cat build/meson-logs/meson-log.txt && exit 1)
- ninja -C build
- (cd build && meson test) || (cat build/meson-logs/testlog.txt && exit 1)
- ninja -C build scan-build
build-mingw64:
script:
- (mkdir buildw && cd buildw && mingw64-meson --werror) || (cat buildw/meson-logs/meson-log.txt && exit 1)
- ninja -C buildw
build-qemu:
script:
- make BUILD_DIR=build