Skip to content
Snippets Groups Projects
Commit d495e7c3 authored by Wittenburg, William's avatar Wittenburg, William
Browse files

Get appveyor builds working

parent ab966e29
No related branches found
No related tags found
1 merge request!269Get AppVeyor builds working
......@@ -9,39 +9,42 @@ os:
platform:
- x86
# install:
# ### Having trouble with enabling python on windows
# - set PATH=C:\Python27-x64;C:\Python27-x64\Scripts;%PATH%
# - "python.exe -m pip install numpy"
# init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
before_build:
- del /q /f "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
### uncomment "set" to see environment in build logs
- set
- cd C:\projects\adios2
- git reset --hard %APPVEYOR_PULL_REQUEST_HEAD_COMMIT%
- ps: |
$env:CUSTOM_BUILD_NAME = ("{0}_{1}_vs{2}" -f $env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH, $env:APPVEYOR_BUILD_NUMBER, $env:APPVEYOR_BUILD_WORKER_IMAGE.split()[2] )
if ($env:APPVEYOR_BUILD_WORKER_IMAGE -eq "Visual Studio 2015")
{
Write-Host "This build will push the shared notes"
$env:DO_PUSH_NOTES = "TRUE"
} else {
Write-Host "This build will only pushed the CMake cache"
$env:DO_PUSH_NOTES = "FALSE"
}
- ctest.exe -VV -S ../adios2/scripts\appveyor\av_default.cmake
-Ddashboard_full=OFF
-Ddashboard_do_update=true
-DCTEST_BUILD_NAME=%CUSTOM_BUILD_NAME%
-DADIOS_CTEST_SUBMIT_NOTES=%DO_PUSH_NOTES%
build_script:
- ctest.exe -VV -S ../adios2/scripts\appveyor\av_default.cmake
-Ddashboard_full=OFF
-Ddashboard_do_configure=true
-DCTEST_BUILD_NAME=%CUSTOM_BUILD_NAME%
-DADIOS_CTEST_SUBMIT_NOTES=true
- ctest.exe -VV -S ../adios2/scripts\appveyor\av_default.cmake
-Ddashboard_full=OFF
-Ddashboard_do_build=true
-DCTEST_BUILD_NAME=%CUSTOM_BUILD_NAME%
-DADIOS_CTEST_SUBMIT_NOTES=%DO_PUSH_NOTES%
test_script:
- ctest.exe -VV -S ../adios2/scripts\appveyor\av_default.cmake
-Ddashboard_full=OFF
-Ddashboard_do_test=true
-DCTEST_BUILD_NAME=%CUSTOM_BUILD_NAME%
-DADIOS_CTEST_SUBMIT_NOTES=%DO_PUSH_NOTES%
# on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
# Client maintainer: chuck.atkins@kitware.com
set(CTEST_SITE "AppVeyor")
set(CTEST_BUILD_CONFIGURATION Release)
set(CTEST_CONFIGURATION_TYPE Release)
set(CTEST_CMAKE_GENERATOR "Visual Studio 14 2015 Win64")
# set(CTEST_BUILD_FLAGS "-k -j4")
set(CTEST_TEST_ARGS PARALLEL_LEVEL 4)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment