[pull] master from choreonoid:master #7
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: build test | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 120 | |
strategy: | |
fail-fast: false | |
env: | |
ROS_DISTRO: humble | |
container: | |
image: osrf/ros:humble-desktop-jammy | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies of choreonoid | |
run: | | |
apt-get update && \ | |
apt-get -y upgrade && \ | |
apt-get -y install \ | |
build-essential \ | |
cmake-curses-gui \ | |
libboost-dev \ | |
libboost-system-dev \ | |
libboost-program-options-dev \ | |
libboost-iostreams-dev \ | |
libeigen3-dev \ | |
uuid-dev \ | |
libxfixes-dev \ | |
libyaml-dev \ | |
libfmt-dev \ | |
gettext \ | |
zlib1g-dev \ | |
libjpeg-dev \ | |
libpng-dev \ | |
libfreetype-dev \ | |
qtbase5-dev \ | |
libqt5x11extras5-dev \ | |
libqt5svg5-dev \ | |
qttranslations5-l10n \ | |
python3-dev \ | |
python3-numpy \ | |
libassimp-dev \ | |
libode-dev \ | |
libfcl-dev \ | |
libpulse-dev \ | |
libsndfile1-dev \ | |
libgstreamer1.0-dev \ | |
libgstreamer-plugins-base1.0-dev \ | |
libzip-dev \ | |
python3-colcon-coveragepy-result \ | |
python3-colcon-lcov-result | |
- name: Run build test | |
uses: ros-tooling/[email protected] | |
with: | |
target-ros2-distro: humble | |
vcs-repo-file-url: dependency.repos | |
extra-cmake-args: -DWITH_INTEGRATION_TEST=ON | |
# If possible, pin the repository in the workflow to a specific commit to avoid | |
# changes in colcon-mixin-repository from breaking your tests. |