Skip to content

Add nexus_workcell_editor #4

Add nexus_workcell_editor

Add nexus_workcell_editor #4

name: workcell_editor
on:
pull_request:
push:
branches: [ main ]
defaults:
run:
shell: bash
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
docker_image: ['ros:iron-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 git+https://github.com/colcon/colcon-cargo.git
pip install git+https://github.com/colcon/colcon-ros-cargo.git
- 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_iron.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