Skip to content

Commit

Permalink
Add tmp build for noble job
Browse files Browse the repository at this point in the history
Signed-off-by: Yadunund <[email protected]>
  • Loading branch information
Yadunund committed Mar 25, 2024
1 parent dce7bb8 commit 701d9d6
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
docker_image: ['ros:iron-ros-base', 'ros:rolling-ros-base']
docker_image: ['ros:iron-ros-base']
container:
image: ${{ matrix.docker_image }}
timeout-minutes: 30
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/tmp_build_noble.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: tmp_build
on:
pull_request:
push:
branches: [ rolling ]
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
docker_image: ['ubuntu:noble-20240225']
container:
image: ${{ matrix.docker_image }}
timeout-minutes: 30
steps:
- name: Setup rolling
run: |
apt update && apt install curl -y
curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | tee /etc/apt/sources.list.d/ros2.list > /dev/null
apt update && apt install ros-dev-tools
apt install ros-rolling-ros-base
- uses: actions/checkout@v2
- name: rosdep
run: |
rosdep init
rosdep update
rosdep install --from-paths . --rosdistro rolling -yir
- name: build
run: |
source /opt/ros/rolling/setup.bash
colcon build

0 comments on commit 701d9d6

Please sign in to comment.