From a1ae82b04bc2cbafd07ec216246c108bf9f66928 Mon Sep 17 00:00:00 2001 From: Lucas Walter Date: Fri, 30 Aug 2024 07:25:30 -0700 Subject: [PATCH] split up ubuntu 20.04 source build and docker build actions --- .github/workflows/ubuntu_20_04.yml | 5 ----- .github/workflows/ubuntu_20_04_docker.yml | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/ubuntu_20_04_docker.yml diff --git a/.github/workflows/ubuntu_20_04.yml b/.github/workflows/ubuntu_20_04.yml index a84edbe..7c49e94 100644 --- a/.github/workflows/ubuntu_20_04.yml +++ b/.github/workflows/ubuntu_20_04.yml @@ -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 diff --git a/.github/workflows/ubuntu_20_04_docker.yml b/.github/workflows/ubuntu_20_04_docker.yml new file mode 100644 index 0000000..7d33f22 --- /dev/null +++ b/.github/workflows/ubuntu_20_04_docker.yml @@ -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 git@github.com: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