source: stable/2.9/appveyor.yml @ 2549

Last change on this file since 2549 was 2307, checked in by tkr, 3 years ago

Changing verbosity level

File size: 2.6 KB
RevLine 
[2247]1platform:
2  - x64
[2261]3
[2247]4environment:
5  global:
[2285]6    BINTRAY_API:
7      secure: a9n4jf90wlFCdaYa6fOmYxsF97ur2dnK8Ys3gn5R90JBzTDq6cD2GlEwmmts75mq
8    BINTRAY_USERNAME: tkralphs
[2247]9  matrix:
[2285]10    - ARCH: win32-msvc9
11      HOST_ARCH_ARG: --enable-msvc=MD
[2261]12      ADD_PATH: /mingw64/bin
[2285]13    - ARCH: win32-msvc12
14      HOST_ARCH_ARG: --enable-msvc
15      ADD_PATH: /mingw64/bin
16    - ARCH: win32-msvc14
17      HOST_ARCH_ARG: --enable-msvc
18      ADD_PATH: /mingw64/bin
19    - ARCH: x86_64-w64-mingw32
20      HOST_ARCH_ARG: --host=x86_64-w64-mingw32
21      ADD_PATH: /mingw64/bin
22    - ARCH: i686-w64-mingw32
23      HOST_ARCH_ARG: --host=i686-w64-mingw32
[2261]24      ADD_PATH: /mingw32/bin
25
[2247]26install:
[2285]27  - for /f "delims=" %%i in ('C:\msys64\usr\bin\bash -lc "if [ $APPVEYOR_REPO_BRANCH = 'master' ]; then echo 'trunk'; else echo $APPVEYOR_REPO_BRANCH | cut -d "/" -f 2; fi"') do set VERSION=%%i
28  - echo %VERSION%
29  - IF %ARCH%==win32-msvc9 (CALL C:\"Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat")
30  - IF %ARCH%==win32-msvc12 (CALL C:\"Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat")
31  - IF %ARCH%==win32-msvc14 (CALL C:\"Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat")
[2261]32  - C:\msys64\usr\bin\bash -lc ""
[2247]33
34build_script:
[2297]35  - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; git clone https://github.com/coin-or-tools/BuildTools"
[2261]36  - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; BuildTools/get.dependencies.sh fetch --no-third-party"
[2307]37  - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; export PATH=$ADD_PATH:$PATH; BuildTools/get.dependencies.sh build --build=x86_64-w64-mingw32 $HOST_ARCH_ARG --verbosity=2 --test"
[2247]38
[2285]39after_build:
[2295]40  - 7z a %APPVEYOR_PROJECT_NAME%-%VERSION%-%ARCH%.zip %APPVEYOR_BUILD_FOLDER%\build\bin
41  - 7z a %APPVEYOR_PROJECT_NAME%-%VERSION%-%ARCH%.zip %APPVEYOR_BUILD_FOLDER%\build\include
42  - 7z a %APPVEYOR_PROJECT_NAME%-%VERSION%-%ARCH%.zip %APPVEYOR_BUILD_FOLDER%\build\lib
43  - 7z a %APPVEYOR_PROJECT_NAME%-%VERSION%-%ARCH%.zip %APPVEYOR_BUILD_FOLDER%\build\share
[2285]44  - 7z a %APPVEYOR_PROJECT_NAME%-%VERSION%-%ARCH%.zip %APPVEYOR_BUILD_FOLDER%\README.md
45  - 7z a %APPVEYOR_PROJECT_NAME%-%VERSION%-%ARCH%.zip %APPVEYOR_BUILD_FOLDER%\LICENSE
46  - 7z a %APPVEYOR_PROJECT_NAME%-%VERSION%-%ARCH%.zip %APPVEYOR_BUILD_FOLDER%\INSTALL
[2288]47  - 7z a %APPVEYOR_PROJECT_NAME%-%VERSION%-%ARCH%.zip %APPVEYOR_BUILD_FOLDER%\Cbc\AUTHORS
[2285]48  - curl -T %APPVEYOR_PROJECT_NAME%-%VERSION%-%ARCH%.zip -utkralphs:%BINTRAY_API% -H "X-Bintray-Publish:1" -H "X-Bintray-Override:1" https://api.bintray.com/content/coin-or/download/%APPVEYOR_PROJECT_NAME%/%VERSION%/%APPVEYOR_PROJECT_NAME%-%VERSION%-%ARCH%.zip
49
Note: See TracBrowser for help on using the repository browser.