From 331c38ffa5ab0667d7e14ff71d39556e1028bd0e Mon Sep 17 00:00:00 2001 From: jparisu Date: Wed, 9 Jun 2021 14:56:15 +0200 Subject: [PATCH] add actions for uncrustify dependencies Signed-off-by: jparisu --- .../actions/install-apt-packages/action.yml | 23 +++++++++++++++++++ .../install-python-packages/action.yml | 20 ++++++++++++++++ .github/workflows/ci.yml | 3 +++ 3 files changed, 46 insertions(+) create mode 100644 .github/actions/install-apt-packages/action.yml create mode 100644 .github/actions/install-python-packages/action.yml diff --git a/.github/actions/install-apt-packages/action.yml b/.github/actions/install-apt-packages/action.yml new file mode 100644 index 00000000..9cbd5220 --- /dev/null +++ b/.github/actions/install-apt-packages/action.yml @@ -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 diff --git a/.github/actions/install-python-packages/action.yml b/.github/actions/install-python-packages/action.yml new file mode 100644 index 00000000..354d1255 --- /dev/null +++ b/.github/actions/install-python-packages/action.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb2d5d0c..71a91ef6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \