Skip to content

Commit

Permalink
add actions for uncrustify dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: jparisu <javierparis@eprosima.com>
  • Loading branch information
jparisu committed Jun 9, 2021
1 parent 375127d commit 331c38f
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/actions/install-apt-packages/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'install-apt-packages'
description: 'Install necessary apt packages'
runs:
using: "composite"
steps:
- id: install-apt-packages
run: |
sudo apt -y install \
doxygen \
graphviz \
imagemagick \
python3 \
python3-pip \
python3-sphinxcontrib.spelling \
python3-venv \
software-properties-common \
wget \
libasio-dev \
libtinyxml2-dev \
clang-tidy \
curl \
grep
shell: bash
20 changes: 20 additions & 0 deletions .github/actions/install-python-packages/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'install-python-packages'
description: 'Install necessary python packages'
runs:
using: "composite"
steps:
- id: install-python-packages
run: |
sudo pip3 install -U \
sphinx==3.0.3 \
doc8==0.8.0 \
sphinx_rtd_theme==0.4.3 \
sphinxcontrib.spelling==5.0.0 \
sphinxcontrib-imagehelper==1.1.1 \
colcon-common-extensions \
colcon-mixin \
vcstool \
GitPython \
setuptools \
gcovr
shell: bash
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ jobs:
cd src/integration-service
git fetch --prune --unshallow
- uses: ./src/Fast-DDS-monitor/.github/actions/install-apt-packages
- uses: ./src/Fast-DDS-monitor/.github/actions/install-python-packages

- name: Install uncrustify
run: |
git clone https://github.com/uncrustify/uncrustify.git \
Expand Down

0 comments on commit 331c38f

Please sign in to comment.