Skip to content

Commit

Permalink
appveyor with more build options and binaries wbhart#280
Browse files Browse the repository at this point in the history
  • Loading branch information
GitMensch committed Oct 1, 2019
1 parent 5a6c9bf commit 51bbc2c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
11 changes: 9 additions & 2 deletions .appveyor_msys_build.sh
Original file line number Diff line number Diff line change
@@ -1,27 +1,34 @@
export PATH=/c/msys64/mingw$ABI/bin:/c/projects/mpir/bin/:$PATH
cd /c/projects/mpir

echo && echo build: ./autogen.sh
./autogen.sh

case "$LIBRARY" in
"static") LIB="--enable-static --disable-shared";;
"shared") LIB="--disable-static --enable-shared";;
esac

echo && echo build: ./configure ABI=$ABI $LIB $CONFIG_CXX $CONFIG_GMP
./configure ABI=$ABI $LIB $CONFIG_CXX $CONFIG_GMP

echo && echo build: make
make
# should work but falsely requires texlive ?!?
#echo && echo build: DISTCHECK_CONFIGURE_FLAGS="ABI=$ABI $LIB" make distcheck
#DISTCHECK_CONFIGURE_FLAGS="ABI=$ABI $LIB" make distcheck
echo && echo build: make check
make check

echo && echo build: make dist
make dist
if ! test -z "$CONFIG_GMP"; then
if ! test -z "$CONFIG_CXX"; then

if test "x$CONFIG_GMP" != "x"; then
if test "x$CONFIG_CXX" != "x"; then
MODE="C++"
else
MODE=""
fi
echo && echo build: make install DESTDIR=$(pwd)/bin$ABI$MODE-$LIBRARY
make install DESTDIR=$(pwd)/bin$ABI$MODE-$LIBRARY
fi
6 changes: 0 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ environment:
YASM_DOWNLOAD: http://www.tortall.net/projects/yasm/releases/%YASM_BINARY%
MINGW_PREREQ: zip lzip
matrix:
- COMPILER: MinGW-w64
ABI: 32
LIBRARY: shared
- COMPILER: MinGW-w64
ABI: 64
LIBRARY: static
- COMPILER: MinGW-w64
ABI: 32
LIBRARY: static
Expand Down

0 comments on commit 51bbc2c

Please sign in to comment.