Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
C++ project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
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
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
ASTRON Templates
C++ project
Commits
d7804f8d
Commit
d7804f8d
authored
1 year ago
by
Corné Lukken
Browse files
Options
Downloads
Patches
Plain Diff
Fix artifact paths for top level ci
parent
a1272b6c
No related branches found
No related tags found
1 merge request
!8
Convert cookiecutter
Checking pipeline status
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+32
-0
32 additions, 0 deletions
.gitlab-ci.yml
{{cookiecutter.project_slug}}/.gitlab-ci.yml
+5
-0
5 additions, 0 deletions
{{cookiecutter.project_slug}}/.gitlab-ci.yml
with
37 additions
and
0 deletions
.gitlab-ci.yml
+
32
−
0
View file @
d7804f8d
...
@@ -19,3 +19,35 @@ sast:
...
@@ -19,3 +19,35 @@ sast:
before_script
:
before_script
:
-
python --version
# For debugging
-
python --version
# For debugging
# Override format artifact paths
format
:
artifacts
:
when
:
on_failure
paths
:
-
my_awesome_app/format.patch
# Override test artifact paths
test
:
artifacts
:
paths
:
# This will give a warning which is ok
-
my_awesome_app/build/test/unittests.xml
-
my_awesome_app/build/coverage.tar.gz
reports
:
junit
:
my_awesome_app/build/test/unittests.xml
coverage_report
:
coverage_format
:
cobertura
path
:
my_awesome_app/build/coverage.xml
# Override abi-test artifact paths
abi-test
:
artifacts
:
paths
:
-
my_awesome_app/compat_reports/hello/${APPLICATION_LAST_RELEASE}_to_master
# Override pages artifact paths
pages
:
artifacts
:
expire_in
:
1w
paths
:
-
my_awesome_app/build/doc/*
This diff is collapsed.
Click to expand it.
{{cookiecutter.project_slug}}/.gitlab-ci.yml
+
5
−
0
View file @
d7804f8d
...
@@ -129,12 +129,17 @@ pages:
...
@@ -129,12 +129,17 @@ pages:
needs
:
[
"
trigger_prepare"
]
needs
:
[
"
trigger_prepare"
]
script
:
script
:
# Generate documentation.
# Generate documentation.
-
mkdir build
-
cd build
-
cd build
-
cmake -DBUILD_DOCUMENTATION=ON -G Ninja ..
-
cmake -DBUILD_DOCUMENTATION=ON -G Ninja ..
-
ninja sphinx
-
ninja sphinx
# Extract HTML coverage report.
# Extract HTML coverage report.
-
tar xfz coverage.tar.gz
-
tar xfz coverage.tar.gz
# TODO: Add an index page with links to the documentation and coverage.
# TODO: Add an index page with links to the documentation and coverage.
artifacts
:
expire_in
:
1w
paths
:
-
build/doc/*
abi-deploy
:
abi-deploy
:
stage
:
publish
stage
:
publish
...
...
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