Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[19450] Fix Linux installations from sources docs #151

Merged
merged 5 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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