source: trunk/appveyor.yml @ 2254

Last change on this file since 2254 was 2254, checked in by tkr, 4 years ago

Updating appveyor.yml

File size: 1.4 KB
Line 
1platform:
2  - x64
3
4environment:
5  global:
6    MSYS2_BASEVER: 20150512
7    MSYS2_ARCH: x86_64
8  matrix:
9    - HOST_ARCH_ARG: --host=x86_64-w64-mingw32
10      ADD_PATH: /mingw64/bin
11    - HOST_ARCH_ARG: --host=i686-w64-mingw32
12      ADD_PATH: /mingw32/bin
13    - HOST_ARCH_ARG: --enable-msvc
14      ADD_PATH: /mingw64/bin
15
16install:
17  - C:\"Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"
18  - appveyor DownloadFile "http://kent.dl.sourceforge.net/project/msys2/Base/%MSYS2_ARCH%/msys2-base-%MSYS2_ARCH%-%MSYS2_BASEVER%.tar.xz" -FileName "msys2.tar.xz"
19  - 7z x msys2.tar.xz
20  - 7z x msys2.tar > NUL
21  - msys64\usr\bin\bash -lc ""
22  - msys64\usr\bin\bash -lc "for i in {1..3}; do pacman --noconfirm -Suy make wget tar patch dos2unix diffutils ca-certificates mingw-w64-i686-ca-certificates mingw-w64-x86_64-ca-certificates mingw-w64-i686-gcc mingw-w64-i686-gcc-fortran mingw-w64-x86_64-gcc mingw-w64-x86_64-gcc-fortran && break || sleep 15; done"
23
24build_script:
25  - msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; git clone --branch=stable/0.8 https://github.com/coin-or-tools/BuildTools"
26  - msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; BuildTools/get.dependencies.sh fetch --no-third-party"
27  - msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; export PATH=$PATH:$ADD_PATH; BuildTools/get.dependencies.sh build --monolithic --no-thirdparty --build=x86_64-w64-mingw32 $HOST_ARCH_ARG --test"
28
29test: off
Note: See TracBrowser for help on using the repository browser.