Skip to content
GitLab
Explore
Sign in
Register
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
4d5eba33
Commit
4d5eba33
authored
1 year ago
by
Corné Lukken
Browse files
Options
Downloads
Patches
Plain Diff
Update references
parent
4b5243c9
Branches
Branches containing commit
No related tags found
1 merge request
!8
Convert cookiecutter
Pipeline
#98156
failed
6 months ago
Stage: prepare
Stage: linting
Stage: test
Stage: build
Stage: publish
Pipeline: C++ project
#98157
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+4
-4
4 additions, 4 deletions
README.md
{{cookiecutter.project_slug}}/README.md
+1
-2
1 addition, 2 deletions
{{cookiecutter.project_slug}}/README.md
with
5 additions
and
6 deletions
README.md
+
4
−
4
View file @
4d5eba33
#
Example Python Packag
e
#
CPP Project CookieCutter Templat
e




An example repository of an CI/CD pipeline for building, testing and publishing a python package.
...
...
@@ -18,7 +18,7 @@ pip install --user cookiecutter
Then you can create an instance of your template with:
```
bash
cookiecutter https://git.astron.nl/templates/
python-package
.git
cookiecutter https://git.astron.nl/templates/
cpp-project
.git
# Next follow a set of prompts (such as the name and description of the package)
```
...
...
This diff is collapsed.
Click to expand it.
{{cookiecutter.project_slug}}/README.md
+
1
−
2
View file @
4d5eba33
...
...
@@ -22,8 +22,7 @@ project needs to be changed to use `make`.
## Getting started
-
Clone the project in the directory
`$repo`
-
Install all dependencies as listed in
`ci/ubuntu_22_04-base`
-
Install all dependencies as listed in
`docker/ci-runnner/Dockerfile`
-
Create build directory:
`mkdir build`
-
Create the project:
`cmake -DBUILD_TESTING=ON -DBUILD_DOCUMENTATION=ON -B ./build -G Ninja`
-
Build the project:
`ninja -C ./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