Skip to content

Commit

Permalink
Fix Linux installations from sources docs (#151)
Browse files Browse the repository at this point in the history
* Refs #19450: Add workflows for testing installation methods nightly

Signed-off-by: Eduardo Ponz <[email protected]>

* Refs #19450: Correctly override ROS 2 packages

Signed-off-by: Eduardo Ponz <[email protected]>

* Refs #19450: Install missing dependencies

Signed-off-by: Eduardo Ponz <[email protected]>

* Refs #19450: Ignore some docs packages

Signed-off-by: Eduardo Ponz <[email protected]>

* Refs #19450: Upgrade checkout action to v4 on docs.yaml

Signed-off-by: Eduardo Ponz <[email protected]>

---------

Signed-off-by: Eduardo Ponz <[email protected]>
  • Loading branch information
EduPonz authored Sep 6, 2023
1 parent d8e045c commit b23560f
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: 'recursive'

Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/install_linux_from_binaries.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Install from binaries Ubuntu

on:
schedule:
- cron: '0 0 * * *'

jobs:
ubuntu-install-from-binaries:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Install from binaries
run: |
bash docs/resources/scripts/linux_binary_installation.bash
18 changes: 18 additions & 0 deletions .github/workflows/install_linux_from_sources.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Install from sources Ubuntu

on:
schedule:
- cron: '0 0 * * *'

jobs:
ubuntu-install-from-sources:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Install from sources
run: |
bash docs/resources/scripts/linux_source_installation.bash
17 changes: 16 additions & 1 deletion docs/resources/scripts/linux_source_installation.bash
Original file line number Diff line number Diff line change
Expand Up @@ -89,24 +89,39 @@ rosdep install --from-paths src --ignore-src -y --skip-keys "fastcdr rti-connext
##LINUX_SOURCE_CLONE_VULCA
cd ~
cd vulcanexus_iron

# Remove ROS 2 packages overridden by Vulcanexus
rm -rf src/ros2/rosidl_typesupport_fastrtps/ src/eProsima/foonathan_memory_vendor/ src/ros2/rmw_fastrtps/
rm -rf \
src/eProsima/foonathan_memory_vendor/ \
src/ros2/rosidl_typesupport_fastrtps/ \
src/ros2/rosidl_dynamic_typesupport_fastrtps \
src/ros2/rmw_fastrtps/

# Get Vulcanexus sources
wget https://raw.githubusercontent.com/eProsima/vulcanexus/iron/vulcanexus.repos
wget https://raw.githubusercontent.com/eProsima/vulcanexus/iron/colcon.meta
vcs import --force src < vulcanexus.repos

# Avoid compilation of some documentation and demo packages
touch src/eProsima/Fast-DDS-QoS-Profiles-Manager/docs/COLCON_IGNORE
touch src/eProsima/Vulcanexus-Base/docs/COLCON_IGNORE
touch src/eProsima/Vulcanexus-Base/code/COLCON_IGNORE
##!

##LINUX_SOURCE_VULCA_DEPS
sudo apt update && sudo apt install -y \
libasio-dev \
libdocopt-dev \
libengine-pkcs11-openssl \
liblog4cxx-dev \
liblz4-dev \
libp11-dev \
libqt5charts5-dev \
libssl-dev \
libtinyxml2-dev \
libxerces-c-dev \
libyaml-cpp-dev \
libzstd-dev \
openjdk-8-jdk \
python3-sphinx \
python3-sphinx-rtd-theme \
Expand Down

0 comments on commit b23560f

Please sign in to comment.