-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README regarding distribution branches (#80)
* Update README regarding distribution branches * Update ci using reusable_ici and indivirual badges * Fix badges on detailed view (cherry picked from commit 54039d4)
- Loading branch information
Showing
11 changed files
with
170 additions
and
242 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -5,14 +5,14 @@ on: | |
jobs: | ||
ament_lint: | ||
name: ament_${{ matrix.linter }} | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
linter: [copyright, lint_cmake] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: ros-tooling/setup-ros@v0.2 | ||
- uses: actions/checkout@v3 | ||
- uses: ros-tooling/setup-ros@v0.6 | ||
- uses: ros-tooling/[email protected] | ||
with: | ||
distribution: rolling | ||
|
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,21 @@ | ||
name: Humble Binary Build Main | ||
on: | ||
workflow_dispatch: | ||
branches: | ||
- humble | ||
pull_request: | ||
branches: | ||
- humble | ||
push: | ||
branches: | ||
- humble | ||
schedule: | ||
- cron: '53 5 * * *' | ||
|
||
jobs: | ||
binary: | ||
uses: ./.github/workflows/reusable_ici.yml | ||
with: | ||
ros_distro: humble | ||
ros_repo: main | ||
ref_for_scheduled_build: humble |
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,21 @@ | ||
name: Humble Binary Build Testing | ||
on: | ||
workflow_dispatch: | ||
branches: | ||
- humble | ||
pull_request: | ||
branches: | ||
- humble | ||
push: | ||
branches: | ||
- humble | ||
schedule: | ||
- cron: '53 5 * * *' | ||
|
||
jobs: | ||
binary: | ||
uses: ./.github/workflows/reusable_ici.yml | ||
with: | ||
ros_distro: humble | ||
ros_repo: testing | ||
ref_for_scheduled_build: humble |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
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.' | ||
required: true | ||
type: string | ||
ros_distro: | ||
description: 'ROS_DISTRO variable for industrial_ci' | ||
required: true | ||
type: string | ||
ros_repo: | ||
description: 'ROS_REPO to run for industrial_ci. Possible values: "main", "testing"' | ||
default: 'main' | ||
required: false | ||
type: string | ||
before_install_upstream_dependencies: | ||
description: 'BEFORE_INSTALL_UPSTREAM_DEPENDENCIES variable for industrial_ci' | ||
default: '' | ||
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' | ||
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
Oops, something went wrong.