Skip to content

Commit

Permalink
Add noble rules
Browse files Browse the repository at this point in the history
  • Loading branch information
f0reachARR committed Nov 1, 2024
1 parent 6c66179 commit 19df5cb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 7 deletions.
27 changes: 25 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,29 @@ jobs:
run: .github/workflows/setup-dependencies.sh

- name: Build image
run: .github/workflows/build.sh jammy-rt-ros2
run: .github/workflows/build.sh jammy-ros2

# TODO: release image
- name: Upload as artifact
uses: actions/upload-artifact@v4
with:
name: jammy-ros2
path: "*.gz"

build-noble:
needs: changes
runs-on: ubuntu-latest
if: ${{ needs.changes.outputs.check-changes == 'true' }}
steps:
- uses: actions/checkout@v2

- name: Setup build dependencies
run: .github/workflows/setup-dependencies.sh

- name: Build image
run: .github/workflows/build.sh noble-ros2

- name: Upload as artifact
uses: actions/upload-artifact@v4
with:
name: noble-ros2
path: "*.gz"
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
.PHONY: focal-rt-ros2 jammy-rt-ros2 clean
.PHONY: jammy-rt-ros2 clean

jammy-rt-ros2:
sudo ./ros-rt-img build jammy-rt jammy-rt-humble

# TODO: eventually the build.py should be a command line script that takes
# arguments
focal-rt-ros2:
sudo ./ros-rt-img build focal-rt focal-rt-galactic
jammy-ros2:
sudo ./ros-rt-img build jammy-humble

noble-ros2:
sudo ./ros-rt-img build noble-jazzy

clean:
sudo ./ros-rt-img teardown
Expand Down

0 comments on commit 19df5cb

Please sign in to comment.