Skip to content

Commit

Permalink
Remove cyclonedds as vss-tools dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Jaegervall <erik.jaegervall@se.bosch.com>
  • Loading branch information
erikbosch committed Jul 30, 2024
1 parent 90902b2 commit 6705152
Show file tree
Hide file tree
Showing 6 changed files with 134 additions and 167 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/buildcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,10 @@ jobs:
vspec export ddsidl --help
vspec export protobuf --help
vspec export graphql --help
- name: Test that generated DDSIDL is correct
run: |
pip install cyclonedds
cd tests/ddsidl
vspec export ddsidl -u ../vspec/test_units.yaml -s test.vspec -o test.idl
idlc -l py test.idl
grep -i A.String A/_test.py
5 changes: 5 additions & 0 deletions docs/ddsidl.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,16 @@ IDL files can be supplied as input to one of the DDS implementation (e.g: Cycloe

### Installation of CycloneDDS

Cyclone DDS can for Linux be installed with pip:

```bash
pip3 install cyclonedds
```

> [!NOTE]
> Pip install does not work for all architectures, if you experience problems consider using some other installation mechanism
> mentioned at the [Cyclone DDS webpage](https://cyclonedds.io/docs/cyclonedds/latest/installation/installation.html)
**Usage of CycloneDDS to take IDL file as input and generate Python file with types**

> idlc **-l py** ./results/res.idl
Expand Down
Loading

0 comments on commit 6705152

Please sign in to comment.