Migrate to Jazzy #20
Workflow file for this run
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
name: workcell_editor | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
docker_image: ['ros:jazzy-ros-base'] | |
container: | |
image: ${{ matrix.docker_image }} | |
timeout-minutes: 30 | |
steps: | |
- name: Deps | |
run: | | |
apt update && apt install -y git curl libclang-dev libasound2-dev libudev-dev libgtk-3-dev python3-pip python3-vcstool | |
- name: Setup Rust | |
uses: dtolnay/rust-toolchain@1.75 | |
with: | |
components: clippy, rustfmt | |
- name: Install colcon cargo | |
run: | | |
cargo install --debug cargo-ament-build # --debug is faster to install | |
pip install colcon-cargo --break-system-packages | |
pip install colcon-ros-cargo --break-system-packages | |
- uses: actions/checkout@v2 | |
- name: vcs | |
run: | | |
git clone https://github.com/ros2-rust/ros2_rust.git -b 0.4.0 | |
vcs import . < ros2_rust/ros2_rust_jazzy.repos | |
- name: rosdep | |
run: | | |
rosdep update | |
rosdep install --from-paths . -yir | |
- name: build | |
run: /ros_entrypoint.sh colcon build --packages-up-to nexus_workcell_editor |