More appveyor stuff.
@@ -16,8 +16,9 @@ platform:
skip_branch_with_pr: true
install:
- - cmd: set PATH=%PATH%;%MSYS2_BIN_LOCN%
- - cmd: dir %MSYS2_BIN_LOCN%
+ - cmd: set SRC_DIR=%cd%
+ - cmd: set INSTALL_LOC=%SRC_DIR%\install
+ - cmd: set PATH=%PATH%;%MSYS2_BIN_LOCN%;%INSTALL_LOC%
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
- cmd: conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
- cmd: conda update conda
@@ -31,11 +32,11 @@ build: off
build_script:
- cmd: mkdir build
- cmd: cd build
- - cmd: cmake .. -G "%CMAKE_GENERATOR%" -DCMAKE_BUILD_TYPE=Release
+ - cmd: cmake .. -G "%CMAKE_GENERATOR%" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%INSTALL_LOC%
- cmd: if errorlevel 1 exit 1
- - cmd: cmake --build . --config Release --target
+ - cmd: cmake --build . --config Release -- /maxcpucount:8
test_script:
- - cmd: cmake --build . --config Release --target RUN_TESTS
+ - cmd: ctest . -j 8
- cmd: if errorlevel 1 exit 1
