Skip to content

Commit

Permalink
Use containers
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
  • Loading branch information
aaronchongth committed Oct 14, 2024
1 parent 07133f6 commit e7f36fa
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@ on: push
jobs:
build_and_test:
runs-on: ubuntu-latest
container:
image: osrf/ros:${{ matrix.ros_distribution }}-desktop-noble
strategy:
matrix:
ros_distribution:
- jazzy
- rolling
steps:
- uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: ${{ matrix.ros_distribution }}
- name: install dependencies
run: |
sudo apt update && sudo apt install python3-pip
sudo apt update && sudo apt install python3-pip -y
pip3 install eclipse-zenoh==0.11.0 pycdr2
- uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: ${{ matrix.ros_distribution }}
- name: build and test
uses: ros-tooling/action-ros-ci@v0.3
with:
Expand Down

0 comments on commit e7f36fa

Please sign in to comment.