37 lines
686 B
YAML
37 lines
686 B
YAML
environment:
|
|
matrix:
|
|
- configuration: Release
|
|
# - configuration: Debug
|
|
|
|
install:
|
|
- ps: Install-Product node 6
|
|
|
|
# scripts that are called at very beginning, before repo cloning
|
|
init:
|
|
- git config --global core.autocrlf input
|
|
|
|
os: Visual Studio 2019
|
|
|
|
# clone directory
|
|
clone_folder: c:\projects\osrm
|
|
|
|
platform: x64
|
|
|
|
build_script:
|
|
- CALL appveyor-build.bat
|
|
|
|
before_test:
|
|
- node --version
|
|
- npm --version
|
|
- npm install --ignore-scripts
|
|
- npm link --ignore-scripts
|
|
- SET PATH=%CD%\osrm-deps\lib;%PATH%
|
|
- SET OSRM_BUILD_DIR=build\%Configuration%
|
|
# TODO tests fail with "JavaScript heap out of memory", need a better host?
|
|
# - npm test
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|