Commit 3136edb6 authored by Jose Fonseca's avatar Jose Fonseca

appveyor: Allow building with MSVC too.

Disabled by default, as I'm not sure it's worth supporting MSVC build.
Acked-by: Dylan Baker's avatarDylan Baker <dylan@pnwbakers.com>
parent d847a180
......@@ -35,18 +35,26 @@ clone_depth: 100
cache:
- freeglut-MinGW-3.0.0-1.mp.zip
- freeglut-MinGW-3.0.0-2.mp.zip
# https://www.appveyor.com/docs/build-environment/#build-worker-images
os: Visual Studio 2015
environment:
PYTHON_HOME: C:\Python36
FREEGLUT_ARCHIVE: freeglut-MinGW-3.0.0-1.mp.zip
matrix:
- MINGW_HOME: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32
FREEGLUT_ARCHIVE: freeglut-MinGW-3.0.0-1.mp.zip
FREEGLUT_LIB: lib\libfreeglut.a
- MINGW_HOME: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64
FREEGLUT_ARCHIVE: freeglut-MinGW-3.0.0-1.mp.zip
FREEGLUT_LIB: lib\x64\libfreeglut.a
# - MSVC_ARCH: x86
# FREEGLUT_ARCHIVE: freeglut-MSVC-3.0.0-2.mp.zip
# FREEGLUT_LIB: lib\freeglut.lib
# - MSVC_ARCH: x86_amd64
# FREEGLUT_ARCHIVE: freeglut-MSVC-3.0.0-2.mp.zip
# FREEGLUT_LIB: lib\x64\freeglut.lib
matrix:
fast_finish: true
......@@ -68,6 +76,8 @@ install:
- ninja --version
# Setup MinGW
- if not "%MINGW_HOME%"=="" set Path=%MINGW_HOME%\bin;%Path%
# Setup MSVC
- if not "%MSVC_ARCH%"=="" call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %MSVC_ARCH%
# Install FreeGlut
- if not exist "%FREEGLUT_ARCHIVE%" appveyor DownloadFile "http://files.transmissionzero.co.uk/software/development/GLUT/%FREEGLUT_ARCHIVE%"
- 7z x -y "%FREEGLUT_ARCHIVE%" > nul
......
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