Skip to content

Commit

Permalink
Add Ci jobs for iron
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Nov 7, 2023
1 parent d90d85a commit 390c80c
Show file tree
Hide file tree
Showing 10 changed files with 173 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/iron-abi-compatibility.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Iron - ABI Compatibility Check
on:
workflow_dispatch:
pull_request:
branches:
- master

jobs:
abi_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ros-industrial/industrial_ci@master
env:
ROS_DISTRO: iron
ROS_REPO: main
ABICHECK_URL: github:${{ github.repository }}#${{ github.base_ref }}
NOT_TEST_BUILD: true
24 changes: 24 additions & 0 deletions .github/workflows/iron-binary-build-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Iron Binary Build - main
# author: Denis Štogl <[email protected]>
# description: 'Build & test all dependencies from released (binary) packages.'

on:
workflow_dispatch:
pull_request:
branches:
- master
push:
branches:
- master
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'

jobs:
binary:
uses: ./.github/workflows/reusable-industrial-ci-with-cache.yml
with:
ros_distro: iron
ros_repo: main
upstream_workspace: realtime_tools-not-released.rolling.repos
ref_for_scheduled_build: master
24 changes: 24 additions & 0 deletions .github/workflows/iron-binary-build-testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Iron Binary Build - testing
# author: Denis Štogl <[email protected]>
# description: 'Build & test all dependencies from released (binary) packages.'

on:
workflow_dispatch:
pull_request:
branches:
- master
push:
branches:
- master
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '03 1 * * *'

jobs:
binary:
uses: ./.github/workflows/reusable-industrial-ci-with-cache.yml
with:
ros_distro: iron
ros_repo: testing
upstream_workspace: realtime_tools-not-released.rolling.repos
ref_for_scheduled_build: master
31 changes: 31 additions & 0 deletions .github/workflows/iron-rhel-binary-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Rolling RHEL Binary Build
on:
workflow_dispatch:
pull_request:
branches:
- master
push:
branches:
- master
schedule:
# Run every day to detect flakiness and broken dependencies
- cron: '03 1 * * *'


jobs:
iron_rhel_binary:
name: Iron RHEL binary build
runs-on: ubuntu-latest
env:
ROS_DISTRO: iron
container: ghcr.io/ros-controls/ros:${{ env.ROS_DISTRO }}-rhel
steps:
- uses: actions/checkout@v3
with:
path: src/realtime_tools
- run: |
rosdep update
rosdep install -iy --from-path src/realtime_tools
source /opt/ros/${{ env.ROS_DISTRO }}/setup.bash
colcon build
colcon test
23 changes: 23 additions & 0 deletions .github/workflows/iron-semi-binary-build-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Iron Semi-Binary Build - main
# description: 'Build & test that compiles the main dependencies from source.'

on:
workflow_dispatch:
pull_request:
branches:
- master
push:
branches:
- master
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '33 1 * * *'

jobs:
semi_binary:
uses: ./.github/workflows/reusable-industrial-ci-with-cache.yml
with:
ros_distro: iron
ros_repo: main
upstream_workspace: realtime_tools.iron.repos
ref_for_scheduled_build: master
23 changes: 23 additions & 0 deletions .github/workflows/iron-semi-binary-build-testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Iron Semi-Binary Build - testing
# description: 'Build & test that compiles the main dependencies from source.'

on:
workflow_dispatch:
pull_request:
branches:
- master
push:
branches:
- master
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '33 1 * * *'

jobs:
semi_binary:
uses: ./.github/workflows/reusable-industrial-ci-with-cache.yml
with:
ros_distro: iron
ros_repo: testing
upstream_workspace: realtime_tools.rolling.repos
ref_for_scheduled_build: master
17 changes: 17 additions & 0 deletions .github/workflows/iron-source-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Iron Source Build
on:
workflow_dispatch:
push:
branches:
- master
schedule:
# Run every day to detect flakiness and broken dependencies
- cron: '03 3 * * *'

jobs:
source:
uses: ./.github/workflows/reusable-ros-tooling-source-build.yml
with:
ros_distro: iron
ref: master
ros2_repo_branch: iron
2 changes: 1 addition & 1 deletion .github/workflows/reusable-ros-tooling-source-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
required: true
type: string
ros2_repo_branch:
description: 'Branch in the ros2/ros2 repozitory from which ".repos" should be used. Possible values: master (Rolling), humble, galactic, foxy.'
description: 'Branch in the ros2/ros2 repository from which ".repos" should be used. Possible values: master (Rolling), iron, humble, galactic, foxy.'
default: 'master'
required: false
type: string
Expand Down
6 changes: 6 additions & 0 deletions realtime_tools-not-released.iron.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repositories:
## EXAMPLE DEPENDENCY
# <some_ros_package>:
# type: git
# url: [email protected]:<some_github_namespace>/<some_ros_package>.git
# version: master
6 changes: 6 additions & 0 deletions realtime_tools.iron.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repositories:
## EXAMPLE DEPENDENCY
# <some_ros_package>:
# type: git
# url: [email protected]:<some_github_namespace>/<some_ros_package>.git
# version: master

0 comments on commit 390c80c

Please sign in to comment.