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

Make sure non-pr builds (e.g. master) have a real branch name

parent 032b763d
No related branches found
No related tags found
1 merge request!272CI Fixes: master build name + test configuration type
......@@ -22,7 +22,12 @@ before_build:
- 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(Test-Path env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH) {
$env:BUILD_NAME_BRANCH = $env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH
} else {
$env:BUILD_NAME_BRANCH = $env:APPVEYOR_REPO_BRANCH
}
$env:CUSTOM_BUILD_NAME = ("{0}_{1}_vs{2}" -f $env:BUILD_NAME_BRANCH, $env:APPVEYOR_BUILD_NUMBER, $env:APPVEYOR_BUILD_WORKER_IMAGE.split()[2] )
- ctest.exe -VV -S ../adios2/scripts\appveyor\av_default.cmake
-Ddashboard_full=OFF
-Ddashboard_do_update=true
......
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