diff options
author | onqtam <vik.kirilov@gmail.com> | 2016-08-01 21:42:58 +0300 |
---|---|---|
committer | onqtam <vik.kirilov@gmail.com> | 2016-09-21 15:46:09 +0300 |
commit | 63447e20acee1a86abc50ed76052b0e419d5547e (patch) | |
tree | c60e45eebaf82794848bf1cb477bbf51b4e2c0a4 /appveyor.yml | |
parent | ef53593ad2b64472664a846af03f1c231cb0289d (diff) |
trying to get a mingw build on appveyor
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index 67276db..0de9f80 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -42,8 +42,13 @@ environment: arch: "x64" VS_GEN: " Win64" +install: + - appveyor DownloadFile http://downloads.sourceforge.net/mingw-w64/x86_64-6.1.0-release-posix-seh-rt_v5-rev0.7z + - 7z x x86_64-6.1.0-release-posix-seh-rt_v5-rev0.7z > nul + - set PATH=%PATH%;mingw64\bin + build_script: -# 2008 IS ENABLED ONLY FOR x86 BECAUSE CMAKE CANNOT FIND THE COMPILER FOR Win64 + # ============= 2008 IS ENABLED ONLY FOR x86 BECAUSE CMAKE CANNOT FIND THE COMPILER FOR Win64 - IF "%arch%" == "Win32" mkdir 2008 - IF "%arch%" == "Win32" cd 2008 - IF "%arch%" == "Win32" set gen=Visual Studio 9 2008%VS_GEN% @@ -79,3 +84,35 @@ build_script: - msbuild all.sln /p:Configuration=%Configuration%;Platform=%arch% /maxcpucount - ctest -C %configuration% --output-on-failure - cd .. + # ============= MINGW - always 64 bit + - mkdir gcc6 + - cd gcc6 + - cmake .. -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=%Configuration% + - cmake --build . + - ctest --output-on-failure + - cd .. + + + + + + + + + + + + + + + + + + + + + + + + + |