Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Dmitri Naumov
ogs
Commits
cb3b7f76
Verified
Commit
cb3b7f76
authored
5 years ago
by
Lars Bilke
Browse files
Options
Downloads
Patches
Plain Diff
[ci] Added win compiler warnings check.
parent
9abe1608
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/ci/jobs/build-win.yml
+1
-1
1 addition, 1 deletion
scripts/ci/jobs/build-win.yml
scripts/ci/jobs/checks.yml
+7
-2
7 additions, 2 deletions
scripts/ci/jobs/checks.yml
with
8 additions
and
3 deletions
scripts/ci/jobs/build-win.yml
+
1
−
1
View file @
cb3b7f76
...
@@ -17,7 +17,7 @@ build win:
...
@@ -17,7 +17,7 @@ build win:
-DOGS_BUILD_PROCESSES=GroundwaterFlow `
-DOGS_BUILD_PROCESSES=GroundwaterFlow `
-DOGS_USE_PYTHON=ON `
-DOGS_USE_PYTHON=ON `
-DOGS_CI_TESTRUNNER_REPEAT=1
-DOGS_CI_TESTRUNNER_REPEAT=1
-
cmake --build .
-
cmake --build .
| Tee-Object -FilePath make.output
-
cmake --build . --target tests
-
cmake --build . --target tests
-
cmake --build . --target ctest
-
cmake --build . --target ctest
-
cp Testing/**/Test.xml Tests/ctest.xml
-
cp Testing/**/Test.xml Tests/ctest.xml
This diff is collapsed.
Click to expand it.
scripts/ci/jobs/checks.yml
+
7
−
2
View file @
cb3b7f76
...
@@ -5,9 +5,14 @@ compiler warnings:
...
@@ -5,9 +5,14 @@ compiler warnings:
allow_failure
:
true
allow_failure
:
true
dependencies
:
dependencies
:
-
build
-
build
-
build win
script
:
script
:
-
cd build
-
exit_code=0
-
"
if
[[
$(cat
make.output
|
grep
warning
-i)
]];
then
echo
'There
were
compiler
warnings:';
cat
make.output
|
grep
warning
-i;
exit
1;
fi"
-
cd build
-
"
if
[[
$(cat
make.output
|
grep
warning
-i)
]];
then
echo
'There
were
compiler
warnings:';
cat
make.output
|
grep
warning
-i;
exit_code=1;
fi"
-
cd ../build-win
-
"
if
[[
$(cat
make.output
|
grep
':
warning'
-i)
]];
then
echo
'There
were
compiler
warnings:';
cat
make.output
|
grep
':
warning'
-i;
exit_code=1;
fi"
-
exit $exit_code
ctest results
:
ctest results
:
...
...
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