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
Özgür Ozan Sen
ogs
Commits
a74fab98
Verified
Commit
a74fab98
authored
5 years ago
by
Lars Bilke
Browse files
Options
Downloads
Patches
Plain Diff
[ci] Added win build
parent
96479426
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-0
1 addition, 0 deletions
.gitlab-ci.yml
scripts/ci/jobs/build-win.yml
+35
-0
35 additions, 0 deletions
scripts/ci/jobs/build-win.yml
scripts/ci/jobs/checks.yml
+4
-0
4 additions, 0 deletions
scripts/ci/jobs/checks.yml
with
40 additions
and
0 deletions
.gitlab-ci.yml
+
1
−
0
View file @
a74fab98
...
@@ -11,5 +11,6 @@ include:
...
@@ -11,5 +11,6 @@ include:
-
local
:
'
/scripts/ci/extends/container-maker-setup.yml'
-
local
:
'
/scripts/ci/extends/container-maker-setup.yml'
-
local
:
'
/scripts/ci/jobs/build_image.yml'
-
local
:
'
/scripts/ci/jobs/build_image.yml'
-
local
:
'
/scripts/ci/jobs/build.yml'
-
local
:
'
/scripts/ci/jobs/build.yml'
-
local
:
'
/scripts/ci/jobs/build-win.yml'
-
local
:
'
/scripts/ci/jobs/checks.yml'
-
local
:
'
/scripts/ci/jobs/checks.yml'
-
local
:
'
/scripts/ci/jobs/container.yml'
-
local
:
'
/scripts/ci/jobs/container.yml'
This diff is collapsed.
Click to expand it.
scripts/ci/jobs/build-win.yml
0 → 100644
+
35
−
0
View file @
a74fab98
build win
:
stage
:
test
tags
:
-
windows
before_script
:
# Load VS environment
-
|
pushd $env:VS160COMNTOOLS
cmd /c "VsDevCmd.bat -arch=amd64 -host_arch=amd64&set" |
foreach {
if ($_ -match "=") {
$v = $_.split("="); set-item -force -path "ENV:\$($v[0])" -value "$($v[1])"
}
}
popd
Write-Host "`nVisual Studio Command Prompt variables set." -ForegroundColor Yellow
-
mkdir -p build-win
-
cd build-win
script
:
-
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -DOGS_BUILD_PROCESSES=GroundwaterFlow
-
cmake --build .
-
cmake --build . --target tests
-
cmake --build . --target ctest
-
cp Testing/**/Test.xml Tests/ctest.xml
artifacts
:
paths
:
-
build-win/Tests/ctest.xml
-
build-win/Tests/testrunner.xml
expire_in
:
1 week
reports
:
junit
:
-
build-win/Tests/testrunner.xml
This diff is collapsed.
Click to expand it.
scripts/ci/jobs/checks.yml
+
4
−
0
View file @
a74fab98
...
@@ -18,12 +18,16 @@ ctest results:
...
@@ -18,12 +18,16 @@ ctest results:
-
singularity
-
singularity
dependencies
:
dependencies
:
-
build
-
build
-
"
build
win"
script
:
script
:
-
singularity run docker://$XUNIT_TO_JUNIT_IMAGE -s:./build/Tests/ctest.xml > build/ctest-junit.xml
-
singularity run docker://$XUNIT_TO_JUNIT_IMAGE -s:./build/Tests/ctest.xml > build/ctest-junit.xml
-
singularity run docker://$XUNIT_TO_JUNIT_IMAGE -s:./build-win/Tests/ctest.xml > build-win/ctest-junit.xml
artifacts
:
artifacts
:
paths
:
paths
:
-
build/ctest-junit.xml
-
build/ctest-junit.xml
-
build-win/ctest-junit.xml
expire_in
:
1 week
expire_in
:
1 week
reports
:
reports
:
junit
:
junit
:
-
build/ctest-junit.xml
-
build/ctest-junit.xml
-
build-win/ctest-junit.xml
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