forked from UniversalRobots/Universal_Robots_ROS_Driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use dedicated build for noetic main (UniversalRobots#640)
* Use dedicated build for noetic main * Increase timeout waiting for first action server * Add full noetic build matrix * Make the integration test behind a compile flag Since for our integration tests we would require docker being able to spawn a new container that can't necessarily be expected in any usecase. Also, with making this optional we don't require docker as a test dependency which also makes the package a lot more lightweight.
- Loading branch information
Showing
11 changed files
with
185 additions
and
72 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Clang-Format check | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
format_check: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: 'ros-industrial/industrial_ci@master' | ||
env: | ||
ROS_DISTRO: noetic | ||
CLANG_FORMAT_CHECK: file | ||
CLANG_FORMAT_VERSION: "9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Noetic Binary Build Main | ||
on: | ||
workflow_dispatch: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
schedule: | ||
# Run every morning to detect flakiness and broken dependencies | ||
- cron: '32 5 * * *' | ||
|
||
jobs: | ||
binary: | ||
uses: ./.github/workflows/reusable_ici.yml | ||
with: | ||
ros_distro: noetic | ||
ros_repo: main | ||
ref_for_scheduled_build: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Noetic Binary Build Testing | ||
on: | ||
workflow_dispatch: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
schedule: | ||
# Run every morning to detect flakiness and broken dependencies | ||
- cron: '32 5 * * *' | ||
|
||
jobs: | ||
binary: | ||
uses: ./.github/workflows/reusable_ici.yml | ||
with: | ||
ros_distro: noetic | ||
ros_repo: testing | ||
ref_for_scheduled_build: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Noetic Semi-Binary Build Main | ||
on: | ||
workflow_dispatch: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
schedule: | ||
# Run every morning to detect flakiness and broken dependencies | ||
- cron: '32 5 * * *' | ||
|
||
jobs: | ||
binary: | ||
uses: ./.github/workflows/reusable_ici.yml | ||
with: | ||
ros_distro: noetic | ||
ros_repo: main | ||
ref_for_scheduled_build: master | ||
upstream_workspace: .noetic.rosinstall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Noetic Semi-Binary Build Testing | ||
on: | ||
workflow_dispatch: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
schedule: | ||
# Run every morning to detect flakiness and broken dependencies | ||
- cron: '32 5 * * *' | ||
|
||
jobs: | ||
binary: | ||
uses: ./.github/workflows/reusable_ici.yml | ||
with: | ||
ros_distro: noetic | ||
ros_repo: testing | ||
ref_for_scheduled_build: master | ||
upstream_workspace: .noetic.rosinstall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Reusable industrial_ci workflow | ||
# original author: Denis Štogl <[email protected]> | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
ref_for_scheduled_build: | ||
description: 'Reference on which the repo should be checkout for scheduled build. Usually is this name of a branch or a tag.' | ||
default: '' | ||
required: false | ||
type: string | ||
|
||
upstream_workspace: | ||
description: 'UPSTREAM_WORKSPACE variable for industrial_ci. Usually path to local .repos file.' | ||
default: '' | ||
required: false | ||
type: string | ||
ros_distro: | ||
description: 'ROS_DISTRO variable for industrial_ci' | ||
required: false | ||
type: string | ||
ros_repo: | ||
description: 'ROS_REPO to run for industrial_ci. Possible values: "main", "testing"' | ||
default: 'main' | ||
required: false | ||
type: string | ||
|
||
jobs: | ||
reusable_ici: | ||
name: ${{ inputs.ros_distro }} ${{ inputs.ros_repo }} ${{ inputs.os_code_name }} | ||
runs-on: ubuntu-latest | ||
env: | ||
DOCKER_RUN_OPTS: '-v /var/run/docker.sock:/var/run/docker.sock --network ursim_net' | ||
ADDITIONAL_DEBS: 'docker.io' | ||
steps: | ||
- name: Checkout ${{ inputs.ref }} when build is not scheduled | ||
if: ${{ github.event_name != 'schedule' }} | ||
uses: actions/checkout@v3 | ||
- name: Checkout ${{ inputs.ref }} on scheduled build | ||
if: ${{ github.event_name == 'schedule' }} | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ inputs.ref_for_scheduled_build }} | ||
- run: docker network create --subnet=192.168.56.0/24 ursim_net | ||
- uses: 'ros-industrial/industrial_ci@master' | ||
env: | ||
UPSTREAM_WORKSPACE: ${{ inputs.upstream_workspace }} | ||
ROS_DISTRO: ${{ inputs.ros_distro }} | ||
ROS_REPO: ${{ inputs.ros_repo }} | ||
CMAKE_ARGS: -DUR_ROBOT_DRIVER_BUILD_INTEGRATION_TESTS=ON |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters