Skip to content

Commit

Permalink
Fix Linux installations from sources docs (#151) (#166)
Browse files Browse the repository at this point in the history
* Fix Linux installations from sources docs (#151)

* 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]>
(cherry picked from commit b23560f)

# Conflicts:
#	docs/resources/scripts/linux_source_installation.bash

* Resolve conflicts

Signed-off-by: Raul Sanchez-Mateos <[email protected]>

---------

Signed-off-by: Raul Sanchez-Mateos <[email protected]>
Co-authored-by: Eduardo Ponz Segrelles <[email protected]>
Co-authored-by: Raul Sanchez-Mateos <[email protected]>
  • Loading branch information
3 people authored Feb 6, 2024
1 parent 13763cf commit 3ad25c7
Show file tree
Hide file tree
Showing 4 changed files with 52 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
16 changes: 15 additions & 1 deletion docs/resources/scripts/linux_source_installation.bash
Original file line number Diff line number Diff line change
Expand Up @@ -90,23 +90,37 @@ rosdep install --from-paths src --ignore-src -y --skip-keys "fastcdr rti-connext
cd ~
cd vulcanexus_humble
# 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/humble/vulcanexus.repos
wget https://raw.githubusercontent.com/eProsima/vulcanexus/humble/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 3ad25c7

Please sign in to comment.