Skip to content

Commit 7882e27

Browse files
Conan2 migration (C++ parts) (#107)
1 parent 419d514 commit 7882e27

40 files changed

+364
-295
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#
1313
# SPDX-License-Identifier: Apache-2.0
1414

15-
FROM ghcr.io/eclipse-velocitas/devcontainer-base-images/python:v0.3
15+
FROM ghcr.io/eclipse-velocitas/devcontainer-base-images/python:v0.4
1616

1717
ENV DOCKER_BUILDKIT=1
1818

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
unit-test:
4848
name: "Run unit tests"
4949
runs-on: ubuntu-22.04
50-
container: ghcr.io/eclipse-velocitas/devcontainer-base-images/python:v0.3
50+
container: ghcr.io/eclipse-velocitas/devcontainer-base-images/python:v0.4
5151
strategy:
5252
matrix:
5353
component:
@@ -124,8 +124,17 @@ jobs:
124124
fail-fast: false
125125

126126
steps:
127+
- name: Checkout C++ template repository
128+
uses: actions/checkout@v4
129+
if: ${{ matrix.language == 'cpp' }}
130+
with:
131+
repository: eclipse-velocitas/vehicle-app-${{ matrix.language }}-template
132+
ref: conan2-prerelease
133+
fetch-depth: 0
134+
127135
- name: Checkout template repository
128136
uses: actions/checkout@v4
137+
if: ${{ matrix.language != 'cpp' }}
129138
with:
130139
repository: eclipse-velocitas/vehicle-app-${{ matrix.language }}-template
131140
fetch-depth: 0

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
__pycache__
33
*.egg-info
44
build/**
5+
CMakeUserPresets.json

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# See https://pre-commit.com/hooks.html for more hooks
1717
repos:
1818
- repo: https://github.com/pre-commit/pre-commit-hooks
19-
rev: v4.5.0
19+
rev: v5.0.0
2020
hooks:
2121
- id: trailing-whitespace
2222
- id: end-of-file-fixer

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
Repo for Devcontainer Configuration and vehicle model generation on container startup.
44

5+
> [!IMPORTANT]
6+
> We sucessfully migrated our C++ repositories to use version 2 of the [Conan package manager](https://conan.io/).
7+
> Unfortunately, those changes are not backwards compatible. So, please be aware that versions >= 3.0.0 of this repository
8+
> are compatible with recent versions of the [C++ SDK](https://github.com/eclipse-velocitas/vehicle-app-cpp-sdk) (>= v0.7.0)
9+
> and [C++ App Template](https://github.com/eclipse-velocitas/vehicle-app-cpp-template), only.
10+
>
11+
> This is not relevant for the Python related template and SDK repositories.
12+
513
## Components in this package
614

715
* [Basic Setup](./setup/README.md)
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
velocitas-lib==0.0.12
1+
shell-source>=3.0.0,<4
2+
velocitas-lib==0.0.13
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[settings]
2+
os=Linux
3+
arch=armv8
4+
compiler=gcc
5+
compiler.version=11
6+
compiler.cppstd=17
7+
compiler.libcxx=libstdc++11
8+
9+
[buildenv]
10+
CC=aarch64-linux-gnu-gcc-11
11+
CXX=aarch64-linux-gnu-g++-11
12+
LD=aarch64-linux-gnu-ld
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[settings]
2+
os=Linux
3+
arch=x86_64
4+
compiler=gcc
5+
compiler.version=11
6+
compiler.cppstd=17
7+
compiler.libcxx=libstdc++11
8+
9+
[buildenv]
10+
CC=x86_64-linux-gnu-gcc-11
11+
CXX=x86_64-linux-gnu-g++-11
12+
LD=x86_64-linux-gnu-ld

build-system/cpp-cmake-conan/src/.conan/profiles/linux_aarch64_debug

Lines changed: 0 additions & 7 deletions
This file was deleted.

build-system/cpp-cmake-conan/src/.conan/profiles/linux_aarch64_release

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)