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

Try to clean things up using ps instead of cmd

parent 313c9177
No related branches found
No related tags found
2 merge requests!265Address various windows issues rebased,!263Get started with AppVeyor CI
...@@ -2,7 +2,7 @@ version: 1.0.{build} ...@@ -2,7 +2,7 @@ version: 1.0.{build}
skip_branch_with_pr: true skip_branch_with_pr: true
os: os:
- Visual Studio 2015 - Visual Studio 2015
- Visual Studio 2017 - Visual Studio 2017
...@@ -11,31 +11,25 @@ platform: ...@@ -11,31 +11,25 @@ platform:
before_build: before_build:
- del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets" - del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
- if not exist C:\projects\adios2build\NUL echo 'Build tree does not yet exist' - ps: Write-Host "$env:APPVEYOR_BUILD_WORKER_IMAGE"
- set CUSTOM_BUILD_NAME=%APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH%_%APPVEYOR_BUILD_NUMBER%_%APPVEYOR_BUILD_WORKER_IMAGE% - ps: $env:CUSTOM_BUILD_NAME = ("{0}_{1}_{2}" -f $env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH, $env:APPVEYOR_BUILD_NUMBER, $env:APPVEYOR_BUILD_WORKER_IMAGE -replace " ","-" )
- ctest.exe - ctest.exe -VV -S ../adios2/scripts\appveyor\av_default.cmake
-VV -S ../adios2/scripts\appveyor\av_default.cmake -Ddashboard_full=OFF
-Ddashboard_full=OFF -Ddashboard_do_update=true
-Ddashboard_do_update=true -DCTEST_BUILD_NAME=%CUSTOM_BUILD_NAME%
-DCTEST_BUILD_NAME=%CUSTOM_BUILD_NAME%
build_script: build_script:
- set CUSTOM_BUILD_NAME=%APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH%_%APPVEYOR_BUILD_NUMBER%_%APPVEYOR_BUILD_WORKER_IMAGE% - ctest.exe -VV -S ../adios2/scripts\appveyor\av_default.cmake
- ctest.exe -Ddashboard_full=OFF
-VV -S ../adios2/scripts\appveyor\av_default.cmake -Ddashboard_do_configure=true
-Ddashboard_full=OFF -DCTEST_BUILD_NAME=%CUSTOM_BUILD_NAME%
-Ddashboard_do_configure=true - ctest.exe -VV -S ../adios2/scripts\appveyor\av_default.cmake
-DCTEST_BUILD_NAME=%CUSTOM_BUILD_NAME% -Ddashboard_full=OFF
- ctest.exe -Ddashboard_do_build=true
-VV -S ../adios2/scripts\appveyor\av_default.cmake -DCTEST_BUILD_NAME=%CUSTOM_BUILD_NAME%
-Ddashboard_full=OFF
-Ddashboard_do_build=true
-DCTEST_BUILD_NAME=%CUSTOM_BUILD_NAME%
test_script: test_script:
- set CUSTOM_BUILD_NAME=%APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH%_%APPVEYOR_BUILD_NUMBER%_%APPVEYOR_BUILD_WORKER_IMAGE% - ctest.exe -VV -S ../adios2/scripts\appveyor\av_default.cmake
- ctest.exe -Ddashboard_full=OFF
-VV -S ../adios2/scripts\appveyor\av_default.cmake -Ddashboard_do_test=true
-Ddashboard_full=OFF -DCTEST_BUILD_NAME=%CUSTOM_BUILD_NAME%
-Ddashboard_do_test=true
-DCTEST_BUILD_NAME=%CUSTOM_BUILD_NAME%
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