Try to avoid timeouts in AppVeyor Cygwin build

Disable more libraries and use --disable-optimize instead of --enable-debug
(also for MinGW) as we don't really need debug information in these builds and
not generating it might make things faster.
This commit is contained in:
Vadim Zeitlin
2016-02-19 01:23:11 +01:00
parent 704c177e74
commit d7e84827bc

View File

@@ -32,7 +32,7 @@ set CHERE_INVOKING=yes
:: Workaround for "configure: Bad file descriptor"
perl -i".bak" -pe "s/^test -n \".DJDIR\"/#$&/" configure
bash -lc "g++ --version"
bash -lc "CXXFLAGS=-Wno-deprecated-declarations ./configure --enable-debug --disable-xrc && make -j3"
bash -lc "CXXFLAGS=-Wno-deprecated-declarations ./configure --disable-optimise --disable-xrc && make -j3"
goto :eof
:cygwin
@@ -42,5 +42,5 @@ set CHERE_INVOKING=yes
:: Workaround for "configure: Bad file descriptor"
perl -i".bak" -pe "s/^test -n \".DJDIR\"/#$&/" configure
bash -lc "g++ --version"
bash -lc "LDFLAGS=-L/usr/lib/w32api ./configure --enable-debug --disable-shared --disable-html --disable-richtext --disable-stc && make -j3"
bash -lc "LDFLAGS=-L/usr/lib/w32api ./configure --disable-optimise --disable-shared --disable-aui --disable-html --disable-ribbon --disable-richtext --disable-stc && make -j3"
goto :eof