-
Notifications
You must be signed in to change notification settings - Fork 13
69 lines (65 loc) · 1.79 KB
/
build_test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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.