Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ADIOS2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Podhorszki, Norbert
ADIOS2
Commits
d495e7c3
Commit
d495e7c3
authored
7 years ago
by
Wittenburg, William
Browse files
Options
Downloads
Patches
Plain Diff
Get appveyor builds working
parent
ab966e29
No related branches found
No related tags found
1 merge request
!269
Get AppVeyor builds working
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
appveyor.yml
+15
-12
15 additions, 12 deletions
appveyor.yml
scripts/appveyor/av_default.cmake
+1
-0
1 addition, 0 deletions
scripts/appveyor/av_default.cmake
with
16 additions
and
12 deletions
appveyor.yml
+
15
−
12
View file @
d495e7c3
...
...
@@ -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'))
This diff is collapsed.
Click to expand it.
scripts/appveyor/av_default.cmake
+
1
−
0
View file @
d495e7c3
# 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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment