Commit 274ecc6a authored by Erwin Janssen's avatar Erwin Janssen

Appveyor: automated build of libgd dependency

Download and install the libgd dependencies. Use nmake to compile.
parent 29d834e8
......@@ -20,6 +20,28 @@ install:
#- cinst ghostscript
- cinst winflexbison
- cinst gnuwin32-sed.install
# Compile libgd
- ps: >-
cd windows\dependencies\libgd
mkdir deps
cd deps
wget http://windows.php.net/downloads/php-sdk/deps/vc14/x86/freetype-2.6.2-vc14-x86.zip -O freetype.zip
wget http://windows.php.net/downloads/php-sdk/deps/vc14/x86/libiconv-1.14-vc14-x86.zip -O iconv.zip
wget http://windows.php.net/downloads/php-sdk/deps/vc14/x86/libjpeg-9b-vc14-x86.zip -O jpeg.zip
wget http://windows.php.net/downloads/php-sdk/deps/vc14/x86/libpng-1.6.21-vc14-x86.zip -O png.zip
wget http://windows.php.net/downloads/php-sdk/deps/vc14/x86/zlib-1.2.8-vc14-x86.zip -O zlib.zip
7z x freetype.zip
7z x iconv.zip
7z x jpeg.zip
7z x png.zip
7z x zlib.zip
cd ..
- cmd: >-
cd windows\dependencies\libgd
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
set WITH_DEVEL=deps
set WITH_BUILD=gdbuild
nmake /f windows/Makefile.vc build_libs
build_script:
# Ghostscript only has to be configured when MSYS2 or Cygwin are enabled.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment