1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-18 06:34:48 +00:00
janet/appveyor.yml

48 lines
1.0 KiB
YAML
Raw Normal View History

2018-02-02 04:43:37 +00:00
version: 1.0.{build}
branches:
only:
- master
2018-07-09 01:10:15 +00:00
- alpha
2018-02-02 04:43:37 +00:00
clone_folder: c:\projects\dst
image:
- Visual Studio 2017
configuration:
- Release
- Debug
platform:
- x64
environment:
matrix:
- arch: Win64
# - arch: #does not work, Release|x64 not a valid target
matrix:
fast_finish: true
# skip unsupported combinations
init:
- set arch=
- if "%arch%"=="Win64" ( set arch= Win64)
- echo %arch%
- echo %APPVEYOR_BUILD_WORKER_IMAGE%
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017%arch%" )
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set generator="Visual Studio 14 2015%arch%" )
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" ( set generator="Visual Studio 12 2013%arch%" )
- echo %generator%
before_build:
- cmd: |-
mkdir build
cd build
cmake --version
cmake .. -G %generator%
2018-02-02 04:56:35 +00:00
ls
2018-02-02 04:43:37 +00:00
build:
2018-02-02 04:53:25 +00:00
project: c:\projects\dst\build\dst.sln
2018-02-02 04:43:37 +00:00
verbosity: minimal
parallel: true
only_commits:
files:
- CMakeLists.txt
- appveyor.yml
2018-07-09 01:10:15 +00:00
- src/