Skip to content

Commit

Permalink
Adding regression tests to builds
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Jul 4, 2017
1 parent ad591b5 commit 4f8fe75
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions appveyor.yml
Expand Up @@ -15,6 +15,7 @@ platform:
- x64

shallow_clone: true
skip_branch_with_pr: true

init:
- cmd: git config --global core.autocrlf input
Expand All @@ -24,15 +25,16 @@ install:
- cmd: 7z x "C:\projects\vcpkg-export-hpx-dependencies.7z" -y -oC:\projects\vcpkg >NUL

before_build:
- cmd: cmake -H. -Bbuild -A%PLATFORM% -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DCMAKE_TOOLCHAIN_FILE=C:/projects/vcpkg/scripts/buildsystems/vcpkg.cmake -DHPX_WITH_GIT_COMMIT=%APPVEYOR_REPO_COMMIT% -DHPX_WITH_PSEUDO_DEPENDENCIES=On -DHPX_WITH_EXAMPLES=On -DHPX_WITH_TESTS=Off -DHPX_WITH_RUNTIME=Off
- cmd: cmake -H. -Bbuild -A%PLATFORM% -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DCMAKE_TOOLCHAIN_FILE=C:/projects/vcpkg/scripts/buildsystems/vcpkg.cmake -DHPX_WITH_GIT_COMMIT=%APPVEYOR_REPO_COMMIT% -DHPX_WITH_PSEUDO_DEPENDENCIES=On -DHPX_WITH_EXAMPLES=On -DHPX_WITH_TESTS=On -DHPX_WITH_RUNTIME=Off

build_script:
- cmd: cmake --build build --config %CONFIGURATION% --target core
- cmd: cmake --build build --config %CONFIGURATION% --target examples/quickstart/hello_world
- cmd: cmake --build build --config %CONFIGURATION% --target examples
- cmd: cmake --build build --config %CONFIGURATION% --target tests/regressions

test_script:
- cmd: >-
set PATH=%PATH%;C:\projects\vcpkg\installed\x64-windows\debug\bin
python build\bin\hpxrun.py build\Debug\bin\hello_world.exe -l2 -t2
python build\bin\hpxrun.py -l2 -t2 build\Debug\bin\hello_world.exe -- --hpx:bind=none

0 comments on commit 4f8fe75

Please sign in to comment.