Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Buildbox-Windows
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CGG-public
Containers
Buildbox-Windows
Commits
1b735512
Commit
1b735512
authored
1 month ago
by
Martin Heistermann
Browse files
Options
Downloads
Patches
Plain Diff
component CI
parent
1fceb848
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#9047
failed
1 month ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+35
-0
35 additions, 0 deletions
.gitlab-ci.yml
README.md
+13
-1
13 additions, 1 deletion
README.md
with
48 additions
and
1 deletion
.gitlab-ci.yml
+
35
−
0
View file @
1b735512
stages
:
-
builder-container
-
component
-
test
-
release
include
:
# include the component located in the current project from the current SHA
-
component
:
$CI_SERVER_FQDN/$CI_PROJECT_PATH/vs22-cmake@$CI_COMMIT_SHA
inputs
:
stage
:
component
.template-docker-windows
:
tags
:
-
cgg
...
...
@@ -58,4 +70,27 @@ x64-vs2022:
# TOOLSET: "v142" # 142: VS 2019
# TOOLSET: "v143" # 143: VS 2022
ensure-job-added
:
stage
:
test
image
:
badouralix/curl-jq
script
:
-
|
route="${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/jobs"
count=`curl --silent "$route" | jq 'map(select(.name | contains("component job of vs22-cmake"))) | length'`
if [ "$count" != "1" ]; then
echo "Count $count"
exit 1; else
echo "Component Job present"
fi
# If the pipeline is for a new tag with a semantic version, and all previous jobs succeed,
# create the release.
create-release
:
stage
:
release
image
:
registry.gitlab.com/gitlab-org/release-cli:latest
script
:
echo "Creating release $CI_COMMIT_TAG"
rules
:
-
if
:
$CI_COMMIT_TAG
release
:
tag_name
:
$CI_COMMIT_TAG
description
:
"
Release
$CI_COMMIT_TAG
of
components
repository
$CI_PROJECT_PATH"
This diff is collapsed.
Click to expand it.
README.md
+
13
−
1
View file @
1b735512
visual studio based CI builds.
# BuildBox-Windows (experimental)
## Containers
-
VS 2022 based on servercore:ltsc2022 container
## Components
This project also publishes CI components to build cmake based projects.
### vs22-cmake
-
ninja and msbuild based build
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