Skip to content

Commit

Permalink
Ty to run github action inside container
Browse files Browse the repository at this point in the history
Signed-off-by: LucasHaug <[email protected]>
  • Loading branch information
LucasHaug committed Feb 6, 2023
1 parent 2e47d5e commit 7bcbb2d
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,10 @@ on: [push, pull_request] # on all pushes and PRs
jobs:
ros1_bridge:
runs-on: ubuntu-20.04
container:
image: ros:rolling-ros1-bridge
steps:
- uses: actions/checkout@v2
- name: Workaround for https://github.com/actions/runner-images/issues/675
run: |
sudo sed -i 's/azure\.//' /etc/apt/sources.list
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: "noetic rolling"
- name: Build and test ros1-bridge
uses: ros-tooling/[email protected]
with:
package-name: ros1_bridge
target-ros1-distro: noetic
target-ros2-distro: rolling

run: |
/ros_entrypoint.sh colcon build --allow-overriding ros1_bridge

0 comments on commit 7bcbb2d

Please sign in to comment.