Fix including an IDL file with no structures (#212) #141
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |