-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: CDash dashboard support #5566
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -193,7 +193,8 @@ if(WarpX_FFT) | |||||
set(ABLASTR_FFT ON CACHE STRING "FFT-based solvers" FORCE) | ||||||
endif() | ||||||
|
||||||
# this defined the variable BUILD_TESTING which is ON by default | ||||||
# Define the variable BUILD_TESTING (ON by default), | ||||||
# include CDash dashboard testing module | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
include(CTest) | ||||||
|
||||||
|
||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## This file should be placed in the root directory of your project. | ||
## Then modify the CMakeLists.txt file in the root directory of your | ||
## project to incorporate the testing dashboard. | ||
## | ||
## # The following are required to submit to the CDash dashboard: | ||
## ENABLE_TESTING() | ||
## INCLUDE(CTest) | ||
|
||
set(CTEST_PROJECT_NAME WarpX) | ||
set(CTEST_NIGHTLY_START_TIME 08:00:00 UTC) | ||
|
||
set(CTEST_SUBMIT_URL https://my.cdash.org/submit.php?project=WarpX) | ||
|
||
set(CTEST_DROP_SITE_CDASH TRUE) | ||
|
||
# Additional settings | ||
set(CTEST_SITE "Azure-Pipelines") | ||
set(CTEST_BUILD_NAME "CI-Development") | ||
Comment on lines
+16
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Comment on lines
+17
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder if these two should be set or if one can pass them to CMake/CTest... In the end, we will run the same file from Perlmutter and other sites, where the name and site does not really fit. Or does one approach this with multiple config files (one per site)? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this does not work (but we'll know only after merging the PR into
development
), we can also try the following (see https://learn.microsoft.com/en-us/azure/devops/pipelines/build/variables for more documentation):There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to check the repository name, to be sure (e.g., in case a fork develops on
development
and for some reason has Azure CI on).