mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
travis: Add MinGW builds
We build on Fedora Rawhide, same as on the CentOS CI environment. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
a76555d4c7
commit
2b43314d8c
24
.travis.yml
24
.travis.yml
@ -19,6 +19,18 @@ matrix:
|
|||||||
- IMAGE="centos-7"
|
- IMAGE="centos-7"
|
||||||
- DISTCHECK_CONFIGURE_FLAGS="--with-init-script=upstart"
|
- DISTCHECK_CONFIGURE_FLAGS="--with-init-script=upstart"
|
||||||
- DOCKER_CMD="$LINUX_CMD"
|
- DOCKER_CMD="$LINUX_CMD"
|
||||||
|
- services:
|
||||||
|
- docker
|
||||||
|
env:
|
||||||
|
- IMAGE="fedora-rawhide"
|
||||||
|
- MINGW="mingw32"
|
||||||
|
- DOCKER_CMD="$MINGW_CMD"
|
||||||
|
- services:
|
||||||
|
- docker
|
||||||
|
env:
|
||||||
|
- IMAGE="fedora-rawhide"
|
||||||
|
- MINGW="mingw64"
|
||||||
|
- DOCKER_CMD="$MINGW_CMD"
|
||||||
- compiler: clang
|
- compiler: clang
|
||||||
language: c
|
language: c
|
||||||
os: osx
|
os: osx
|
||||||
@ -32,6 +44,7 @@ script:
|
|||||||
-v $(pwd):/build
|
-v $(pwd):/build
|
||||||
-w /build
|
-w /build
|
||||||
-e VIR_TEST_DEBUG="$VIR_TEST_DEBUG"
|
-e VIR_TEST_DEBUG="$VIR_TEST_DEBUG"
|
||||||
|
-e MINGW="$MINGW"
|
||||||
-e DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS"
|
-e DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS"
|
||||||
"libvirt/buildenv-$IMAGE"
|
"libvirt/buildenv-$IMAGE"
|
||||||
/bin/sh -xc "$DOCKER_CMD"
|
/bin/sh -xc "$DOCKER_CMD"
|
||||||
@ -53,6 +66,17 @@ env:
|
|||||||
exit 1
|
exit 1
|
||||||
)
|
)
|
||||||
"
|
"
|
||||||
|
- MINGW_CMD="
|
||||||
|
NOCONFIGURE=1 ./autogen.sh &&
|
||||||
|
\$MINGW-configure &&
|
||||||
|
make -j3 ||
|
||||||
|
(
|
||||||
|
echo '=== LOG FILE(S) START ===';
|
||||||
|
find -name test-suite.log | xargs cat;
|
||||||
|
echo '=== LOG FILE(S) END ===';
|
||||||
|
exit 1
|
||||||
|
)
|
||||||
|
"
|
||||||
# We can't run 'distcheck' or 'syntax-check' because they fail on
|
# We can't run 'distcheck' or 'syntax-check' because they fail on
|
||||||
# macOS, but doing 'install' and 'dist' gives us some useful coverage
|
# macOS, but doing 'install' and 'dist' gives us some useful coverage
|
||||||
- MACOS_CMD="
|
- MACOS_CMD="
|
||||||
|
Loading…
Reference in New Issue
Block a user