Skip to content

Commit

Permalink
split up ubuntu 20.04 source build and docker build actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasw committed Aug 30, 2024
1 parent 8766871 commit a1ae82b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ubuntu_20_04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,3 @@ jobs:
run: |
cd staging
underlay_ws/catkin.sh
- name: docker build from source 20.04
run: |
cd ros_from_src
docker build --build-arg IMAGE=ubuntu:20.04 --build-arg SUBDIR=ubuntu_2004 . -t ros2004
23 changes: 23 additions & 0 deletions .github/workflows/ubuntu_20_04_docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Ubuntu 20.04 Noetic ROS build from source

on:
push:
workflow_dispatch:

jobs:
ubuntu2004:
runs-on: ubuntu-20.04
# env:
steps:
- name: git clone [email protected]:lucasw/ros_from_src
uses: actions/checkout@v2
with:
path: ros_from_src
submodules: recursive

# TODO(lucasw) probably could combine 20.04, 22.04, and 24.04 docker builds into a single action yaml
# with matrix branches that execute simultaneously
- name: docker build from source 20.04
run: |
cd ros_from_src
docker build --build-arg IMAGE=ubuntu:20.04 --build-arg SUBDIR=ubuntu_2004 . -t ros2004

0 comments on commit a1ae82b

Please sign in to comment.