# Sharpmake AppVeyor CI configuration

image:
- Visual Studio 2019
- macOS
- Ubuntu

skip_commits:
  files:
    - docs/*

platform:
- Any CPU

configuration:
- Debug
- Release

before_build:
- cmd: bootstrap.bat
- sh: ./bootstrap.sh

build_script:
  - cmd: CompileSharpmake.bat Sharpmake.sln "%CONFIGURATION%" "%PLATFORM%"
  - sh: ./CompileSharpmake.sh Sharpmake.sln "${CONFIGURATION}" "${PLATFORM}"

test:
  assemblies:
    - 'Sharpmake.UnitTests\bin\*\Sharpmake.UnitTests.dll'

after_test:
- cmd: python regression_test.py

# Sharpmake AppVeyor CI configuration

image:
- Visual Studio 2019
- Visual Studio 2017
- macOS
- Ubuntu

skip_commits:
  files:
    - docs/*

platform:
- Any CPU

configuration:
- Debug
- Release

init:
- sh: >-
    export NUGET_HTTP_CACHE_PATH=$PWD/tmp/nuget_cache

before_build:
- cmd: bootstrap.bat
- sh: ./bootstrap.sh

build_script:
  - cmd: CompileSharpmake.bat Sharpmake.sln "%CONFIGURATION%" "%PLATFORM%"
  - sh: ./CompileSharpmake.sh Sharpmake.sln "${CONFIGURATION}" "${PLATFORM}"

test:
  assemblies:
    - 'Sharpmake.UnitTests\bin\*\Sharpmake.UnitTests.dll'

after_test:
- cmd: python regression_test.py

Set NUGET_HTTP_CACHE_PATH to a directory under the project root to fix intermittent permission issues when restoring NuGet. - Re-enable vs2017
[AppVeyor] Set NUGET_HTTP_CACHE_PATH to a directory under the project root to fix intermittent permission issues when restoring NuGet.
- Re-enable vs2017
