source: trunk/appveyor.yml @ 2194

Last change on this file since 2194 was 2194, checked in by tkr, 9 months ago

Updating Travis and Appveyor to new build script and new build images

File size: 1.7 KB
Line 
1platform:
2  - x64
3
4environment:
5  matrix:
6    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
7      ARCH: win32-msvc9
8      HOST_ARCH_ARG: --enable-msvc=MD
9      ADD_PATH: /mingw64/bin
10    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
11      ARCH: win32-msvc14
12      HOST_ARCH_ARG: --enable-msvc
13      ADD_PATH: /mingw64/bin
14    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
15      ARCH: win32-msvc15
16      HOST_ARCH_ARG: --enable-msvc
17      ADD_PATH: /mingw64/bin
18    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
19      ARCH: x86_64-w64-mingw32
20      HOST_ARCH_ARG: --host=x86_64-w64-mingw32
21      ADD_PATH: /mingw64/bin
22    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
23      ARCH: i686-w64-mingw32
24      HOST_ARCH_ARG: --host=i686-w64-mingw32
25      ADD_PATH: /mingw32/bin
26
27install:
28  - IF %ARCH%==win32-msvc9 (CALL C:\"Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat")
29  - IF %ARCH%==win32-msvc14 (CALL C:\"Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat")
30  - IF %ARCH%==win32-msvc15 (CALL C:\"Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 8.1)
31  - C:\msys64\usr\bin\bash -lc ""
32
33build_script:
34  - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; git clone https://github.com/coin-or/COIN-OR-OptimizationSuite COIN"
35  - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER/COIN; ./coin.install.sh fetch --no-prompt --main-proj=%APPVEYOR_PROJECT_NAME% --no-third-party"
36  - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER/COIN; export PATH=$ADD_PATH:$PATH; ./coin.install.sh build --no-prompt --main-proj=%APPVEYOR_PROJECT_NAME% --no-third-party --build=x86_64-w64-mingw32 $HOST_ARCH_ARG --verbosity=2 --test"
37
38test: off
Note: See TracBrowser for help on using the repository browser.