version: '{build}'

# Build worker image (VM template)
image: Visual Studio 2015

platform:
  - Win32

configuration:
  - Debug
  - Release

before_build:
  - if not exist build mkdir build
  - cd build
  - cmake --version
  - cmake ..
  
build:
  project: build\CactusJumpTests.sln
  parallel: true
  
  verbosity: minimal
  
after_build:
  - 7z a tests.zip %APPVEYOR_BUILD_FOLDER%\build\%CONFIGURATION%\*.exe %APPVEYOR_BUILD_FOLDER%\build\lib\%CONFIGURATION%\*.dll
  - echo %cd%
  - dir
  
artifacts:
  - path: tests.zip

version: '{build}'

# Build worker image (VM template)
image: Visual Studio 2015

platform:
  - Win32

configuration:
  - Debug
  - Release

before_build:
  - if not exist build mkdir build
  - cd build
  - cmake --version
  - cmake ..
  - cd %APPVEYOR_BUILD_FOLDER%
  
build:
  project: build\CactusJumpTests.sln
  parallel: true
  
  verbosity: minimal
  
after_build:
  - copy build\lib\%CONFIGURATION%\*.dll build\%CONFIGURATION%
  - 7z a tests.zip %APPVEYOR_BUILD_FOLDER%\build\%CONFIGURATION%\*.exe %APPVEYOR_BUILD_FOLDER%\build\%CONFIGURATION%\*.dll
  - echo %cd%
  - dir
  
artifacts:
  - path: tests.zip

Copy dll to folder above and make sure we're in the root project folder
Copy dll to folder above and make sure we're in the root project folder
