source: branches/autotools-update/appveyor.yml @ 2354

Last change on this file since 2354 was 2354, checked in by stefan, 6 months ago

add appveyor file

File size: 1.8 KB
Line 
1platform:
2  - x64
3
4environment:
5  global:
6    BINTRAY_API:
7      secure: a9n4jf90wlFCdaYa6fOmYxsF97ur2dnK8Ys3gn5R90JBzTDq6cD2GlEwmmts75mq
8    BINTRAY_USERNAME: tkralphs
9  matrix:
10    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
11      ARCH: win32-msvc9
12      HOST_ARCH_ARG: --enable-msvc=MD
13      ADD_PATH: /mingw64/bin
14    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
15      ARCH: win32-msvc14
16      HOST_ARCH_ARG: --enable-msvc
17      ADD_PATH: /mingw64/bin
18    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
19      ARCH: win32-msvc15
20      HOST_ARCH_ARG: --enable-msvc
21      ADD_PATH: /mingw64/bin
22    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
23      ARCH: x86_64-w64-mingw32
24      HOST_ARCH_ARG: --host=x86_64-w64-mingw32
25      ADD_PATH: /mingw64/bin
26    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
27      ARCH: i686-w64-mingw32
28      HOST_ARCH_ARG: --host=i686-w64-mingw32
29      ADD_PATH: /mingw32/bin
30
31install:
32  - 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
33  - echo %VERSION%
34  - IF %ARCH%==win32-msvc9 (CALL C:\"Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat")
35  - IF %ARCH%==win32-msvc14 (CALL C:\"Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat")
36  - IF %ARCH%==win32-msvc15 (CALL C:\"Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86 8.1)
37  - C:\msys64\usr\bin\bash -lc ""
38
39build_script:
40  - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; Clp/get.dependencies.sh fetch --no-third-party"
41  - C:\msys64\usr\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; export PATH=$ADD_PATH:$PATH; Clp/get.dependencies.sh build --build=x86_64-w64-mingw32 $HOST_ARCH_ARG --verbosity=2 --test"
Note: See TracBrowser for help on using the repository browser.