From fb5c3683ad96cd34e9cb98ebf31aa1db659aaf02 Mon Sep 17 00:00:00 2001 From: David Allsopp Date: Thu, 12 Apr 2018 15:11:24 +0100 Subject: [PATCH] Build and test debug runtime on AppVeyor --- tools/ci/appveyor/appveyor_build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/ci/appveyor/appveyor_build.sh b/tools/ci/appveyor/appveyor_build.sh index 995553f1b..172aaa878 100644 --- a/tools/ci/appveyor/appveyor_build.sh +++ b/tools/ci/appveyor/appveyor_build.sh @@ -40,6 +40,7 @@ function set_configuration { FILE=$(pwd | cygpath -f - -m)/config/Makefile echo "Edit $FILE to set PREFIX=$2" sed -e "/PREFIX=/s|=.*|=$2|" \ + -e "/RUNTIMED=/s|=.*|=true|" \ -e "/^ *CFLAGS *=/s/\r\?$/ $3\0/" \ config/Makefile.$1 > config/Makefile # run "Content of $FILE" cat config/Makefile @@ -82,7 +83,8 @@ case "$1" in FULL_BUILD_PREFIX=$APPVEYOR_BUILD_FOLDER/../$BUILD_PREFIX run "ocamlc.opt -version" $FULL_BUILD_PREFIX-msvc64/ocamlc.opt -version run "test msvc64" make -C $FULL_BUILD_PREFIX-msvc64 tests - run "test mingw32" make -C $FULL_BUILD_PREFIX-mingw32 tests + run "test mingw32" make -C $FULL_BUILD_PREFIX-mingw32/testsuite \ + USE_RUNTIME="d" all run "install msvc64" make -C $FULL_BUILD_PREFIX-msvc64 install run "install mingw32" make -C $FULL_BUILD_PREFIX-mingw32 install ;;