Skip to content

[19453] Prepare for Fast DDS-Gen v3.0.0 #162

[19453] Prepare for Fast DDS-Gen v3.0.0

[19453] Prepare for Fast DDS-Gen v3.0.0 #162

Workflow file for this run

name: Continuous Integration
on:
workflow_dispatch:
push:
branches:
- 'master'
pull_request:
branches:
- 'master'
jobs:
ubuntu-build-test:
runs-on: ubuntu-latest
strategy:
matrix:
java_version: ['openjdk-11-jdk', 'openjdk-17-jdk', 'openjdk-18-jdk', 'openjdk-19-jdk']
steps:
- uses: actions/checkout@v3
with:
path: src/fastddsgen
- uses: ./src/fastddsgen/.github/actions/install-apt-packages
with:
java-version: ${{ matrix.java_version }}
- uses: ./src/fastddsgen/.github/actions/install-python-packages
- uses: ./src/fastddsgen/.github/actions/fetch-fastddsgen-repos
- name: Get minimum supported version of CMake
uses: lukka/get-cmake@latest
with:
cmakeVersion: 3.16.3
- name: Use cmake
run: cmake --version
- name: Setup ccache
uses: Chocobo1/setup-ccache-action@v1
- name: Build workspace
run: |
colcon build --event-handlers=console_direct+ --cmake-args -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
- name: Build fastddsgen
run: |
cd src/fastddsgen
./gradlew assemble
- name: Test fastddsgen
run: |
source install/local_setup.bash
cd src/fastddsgen
./gradlew test