diff --git a/.appveyor.yml b/.appveyor.yml index a9636f0..6a0cbda 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -4,7 +4,7 @@ image: - Ubuntu2004 - macos - macos-mojave - # - Visual Studio 2019 + - Visual Studio 2019 clone_depth: 5 diff --git a/ci/build.sh b/ci/build.sh index 0828c7d..edda709 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -1,4 +1,11 @@ -#!/bin/sh +#!/bin/bash + +configure_options=( + --enable-manpages + --enable-test-tool + --enable-tests + --enable-examples +) case "$(uname)" in MSYS*|MINGW*) @@ -12,11 +19,17 @@ case "$(uname)" in pacman --noconfirm --sync --needed mingw-w64-x86_64-gcc pacman --noconfirm --sync --needed mingw-w64-x86_64-cunit export PATH="/mingw64/bin:$PATH" + configure_options+=(--disable-shared) ;; esac ./autogen.sh && - ./configure --enable-manpages --enable-test-tool --enable-tests \ - --enable-examples && + ./configure "${configure_options[@]}" && make && - sudo make install + case "$(uname)" in + MSYS*|MINGW*) + ;; + *) + sudo make install + ;; + esac