-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build_and_test_ubuntu22.04.yml
- Loading branch information
Showing
1 changed file
with
7 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,33 +11,17 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
# Check out repository under $GITHUB_WORKSPACE | ||
- uses: actions/checkout@v2 | ||
# Build and install | ||
- name: install | ||
- name: install_wbc_lib | ||
run: | | ||
sudo apt install software-properties-common | ||
sudo add-apt-repository universe | ||
sudo apt update && sudo apt install curl -y | ||
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg | ||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null | ||
sudo apt update | ||
sudo apt install ros-humble-ros-base | ||
sudo apt install ros-dev-tools | ||
source /opt/ros/humble/setup.bash | ||
sudo rosdep init | ||
rosdep update | ||
git clone https://github.com/ARC-OPT/wbc.git | ||
sh wbc/scripts/install.sh | ||
|
||
mkdir -p ros2_ws/src | ||
cd ros2_ws | ||
vcs import src --input https://raw.githubusercontent.com/ARC-OPT/wbc_ros/main/repos.yaml | ||
rosdep install --from-paths src -i -r -y | ||
colcon build --symlink-install | ||
source install/setup.bash | ||
- uses: ros-tooling/[email protected] | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
package-name: wbc_ros | ||
target-ros2-distro: humble | ||
vcs-repo-file-url: https://raw.githubusercontent.com/ARC-OPT/wbc_ros/main/repos.yaml | ||
|
||
# Run all tests | ||
- name: test | ||
|