Skip to content

Commit

Permalink
Merge branch 'cdash-upload' into 'master'
Browse files Browse the repository at this point in the history
Fix CDash uploads

See merge request ogs/ogs!4669
  • Loading branch information
bilke committed Jul 12, 2023
2 parents 3600f7d + 2f6f025 commit 5caa68e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CTestConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
set(CTEST_SUBMIT_URL
"https://cdash.opengeosys.org/submit.php?project=${CTEST_PROJECT_NAME}"
)
set(CTEST_SUBMIT_INACTIVITY_TIMEOUT 30)
if(DEFINED ENV{CI_JOB_NAME})
# Bug in CDash: Remove ":", see
# https://github.com/Kitware/CDash/issues/1292
Expand Down
3 changes: 2 additions & 1 deletion scripts/ci/extends/template-build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,12 @@
echo "ctest arguments: ${ctest_arguments}"
maybe_run_with_xvfb ctest \
-M Experimental --group "${ctest_group}" "${regex_argument}" \
--test-dir "${build_dir_full}" -T Start -T Test -T Submit \
--test-dir "${build_dir_full}" -T Start -T Test \
${ctest_arguments} \
--output-junit Tests/ctest.xml \
--stop-time "`date -d "today + ${ctest_timeout} minutes" +'%H:%M:%S'`" \
--no-tests=error
ctest --test-dir "${build_dir_full}" -T Submit || true
fi
fi
Expand Down
1 change: 1 addition & 0 deletions scripts/ci/pipelines/linux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include:
- local: "/scripts/ci/extends/*.yml"
- local: "/scripts/ci/jobs/pre-commit.yml"
- local: "/scripts/ci/jobs/meta.yml"
- local: "/scripts/ci/jobs/ci_images.yml"
- local: "/scripts/ci/jobs/build-linux.yml"
Expand Down
1 change: 1 addition & 0 deletions scripts/ci/pipelines/mac.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include:
- local: "/scripts/ci/extends/*.yml"
- local: "/scripts/ci/jobs/pre-commit.yml"
- local: "/scripts/ci/jobs/meta.yml"
- local: "/scripts/ci/jobs/build-mac.yml"
- local: "/scripts/ci/jobs/build-gui-mac.yml"
Expand Down
1 change: 1 addition & 0 deletions scripts/ci/pipelines/win.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include:
- local: "/scripts/ci/extends/*.yml"
- local: "/scripts/ci/jobs/pre-commit.yml"
- local: "/scripts/ci/jobs/meta.yml"
- local: "/scripts/ci/jobs/build-win.yml"
- local: "/scripts/ci/jobs/build-gui-win.yml"

0 comments on commit 5caa68e

Please sign in to comment.