Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.

* @rfprod
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---

**Describe the bug**
A clear and concise description of what the bug is.

**Reproduction**
Steps to reproduce the unwanted behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**User specification**
Filling in the specification helps address the issue faster.

- **Device**
- type: [e.g. desktop, laptop, tablet, smartphone]
- OS: [e.g. Ubuntu 20.04, Windows 10, Android 12, iOS 8.1]
- **Browser**
- name: [e.g. Chromium, Chrome, Firefox]
- version: [e.g. Version 25.0.1364.126 (Official Build) snap (64-bit), Version 100.0.4896.75 (Official Build) (64-bit), 99.0 (64-bit)]

**Additional context**
Add any extra context and/or screenshots about the feature request.

**Preconditions for fixing**
Add any preconditions for fixing the problem.
This section is filled in by the maintainers in general case.
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any extra context and/or screenshots about the feature request.

**Preconditions for implementation**
Add any preconditions for implementation of the feature.
This section is filled in by the maintainers mainly.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Maintenance request
about: Suggest an idea for this project maintenance
title: ''
labels: ''
assignees: ''
---

**Describe the proposal**
A clear and concise description of the idea. Ex. improve project modularity, break down big libraries into smaller ones, decouple unrelated logic, update the project dependencies [...]

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions you've considered.

**Additional context**
Add any other context and/or screenshots about the maintenance request.

**Preconditions for maintenance**
Add any preconditions for performing the maintenance.
This section is filled in by the maintainers mainly.
Empty file added .github/actions/.gitkeep
Empty file.
46 changes: 46 additions & 0 deletions .github/actions/workspace-cache/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# For more information see:
# - https://docs.github.com/en/actions/creating-actions/creating-a-composite-action
# - https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputsoutput_id

# The action can be referenced in workflows like:
# - rfprod/cpp-workspace/.github/actions/workspace-cache@main
# ./.github/actions/workspace-cache

name: workspace-cache
description: Configure and use workspace cache
outputs:
os:
description: Runner os
value: ${{ runner.os }}
commitsha:
description: GitHub commit SHA
value: ${{ steps.get-variables.outputs.commitsha }}
compilerversion:
description: gcc version
value: ${{ steps.get-variables.outputs.compilerversion }}
cache-hit:
description: Workspace cache hit
value: ${{ steps.workspace-cache.outputs.cache-hit }}

runs:
using: 'composite'
steps:
- name: Get variables (commit hash, gcc version)
id: get-variables
shell: bash
run: |
echo "::set-output name=commitsha::$(echo ${GITHUB_SHA})";
echo "::set-output name=compilerversion::$(g++ --version | head -n1 | sed -r s/\\s/-/g)";

- name: Workspace cache
uses: actions/cache@v5
id: workspace-cache
with:
path: |
build/
~/.conan2/
key: ${{ runner.os }}-cpp-${{ steps.get-variables.outputs.compilerversion }}-conan-${{ hashFiles('**/CMakeLists.txt', '**/conanfile.txt', '**/conanfile.py') }}-sha-${{ steps.get-variables.outputs.commitsha }}
restore-keys: |
${{ runner.os }}-cpp-${{ steps.get-variables.outputs.compilerversion }}-conan-${{ hashFiles('**/CMakeLists.txt', '**/conanfile.txt', '**/conanfile.py') }}-sha-
${{ runner.os }}-cpp-${{ steps.get-variables.outputs.compilerversion }}-conan-
${{ runner.os }}-cpp-
38 changes: 38 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/.github/workflows'
schedule:
interval: 'weekly'
day: 'monday'
time: '04:00'
groups:
all-actions:
patterns:
- '*'
commit-message:
prefix: 'ci'
include: 'scope'
open-pull-requests-limit: 1
labels:
- 'CI/CD'
- 'Dependencies'
- 'Maintenance'
- package-ecosystem: 'github-actions'
directory: '/.github/actions'
schedule:
interval: 'weekly'
day: 'monday'
time: '04:00'
groups:
all-actions:
patterns:
- '*'
commit-message:
prefix: 'ci'
include: 'scope'
open-pull-requests-limit: 1
labels:
- 'CI/CD'
- 'Dependencies'
- 'Maintenance'
Loading
Loading