Skip to content

Commit

Permalink
Leverage docker
Browse files Browse the repository at this point in the history
  • Loading branch information
minggangw committed May 27, 2024
1 parent 691c2ee commit 0b081cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/linux-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
build:
needs: identify-ros-distro
runs-on: ${{ needs.identify-ros-distro.outputs.linuxos }}
container:
image: osrf/ros:${{ needs.identify-ros-distro.outputs.distro }}-desktop
strategy:
fail-fast: false
matrix:
Expand All @@ -45,7 +47,7 @@ jobs:
- uses: actions/checkout@v3

- name: Build and test rclnodejs
uses: ros-tooling/[email protected]
run: |
source /opt/ros/${{ needs.identify-ros-distro.outputs.distro }}/setup.bash
npm i
npm test

0 comments on commit 0b081cc

Please sign in to comment.