27 lines
678 B
YAML
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
|