Skip to content

Commit

Permalink
Merge branch 'fix-ctest-win' into 'master'
Browse files Browse the repository at this point in the history
[ci] cdash submit as a separate step on win too.

See merge request ogs/ogs!4670
  • Loading branch information
bilke committed Jul 12, 2023
2 parents f364063 + d1bf8f0 commit d4426c5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/ci/extends/template-build-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
elseif (-Not ($env:CI_MERGE_REQUEST_LABELS -match "unit_tests")) { $ctest_condition = $true }
if($env:BUILD_CTEST -eq "true" -And $ctest_condition -eq $true)
{
ctest --preset=$env:CMAKE_PRESET -LE large --output-junit Tests/ctest.xml -M Experimental --group $ctest_group --test-dir $build_directory_full -T Test -T Submit --no-tests=error
ctest --preset=$env:CMAKE_PRESET -LE large --output-junit Tests/ctest.xml -M Experimental --group $ctest_group --test-dir $build_directory_full -T Test --no-tests=error
ctest --test-dir $build_directory_full -T submit; $null
}
- |
if($env:CHECK_WARNINGS -eq "true" -and (cat $log_file | Select-String -Pattern ': warning') )
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/pipelines/linux.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
include:
- local: "/scripts/ci/extends/*.yml"
- local: "/scripts/ci/jobs/ci_images.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"
- local: "/scripts/ci/jobs/build-linux-arch.yml"
- local: "/scripts/ci/jobs/build-linux-petsc.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/ci_images.yml"
- local: "/scripts/ci/jobs/pre-commit.yml"
- local: "/scripts/ci/jobs/meta.yml"
- local: "/scripts/ci/jobs/build-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/ci_images.yml"
- local: "/scripts/ci/jobs/pre-commit.yml"
- local: "/scripts/ci/jobs/meta.yml"
- local: "/scripts/ci/jobs/build-win.yml"
Expand Down

0 comments on commit d4426c5

Please sign in to comment.