-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
598756b
commit 7ed564e
Showing
4 changed files
with
63 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# This adds "pre-release" builds for Github Actions. These: | ||
# - check if the package builds, installs without issues | ||
# - if unit/system tests are defined, runs them | ||
# If these pass, we cover the general requirements of ROS-based repositories. | ||
# | ||
# These builds run on Github machines, but in the same environment and using the same flow as actual ROS | ||
# distro build farm releases, hence "pre-release". | ||
# | ||
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git). | ||
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst) | ||
|
||
name: pre-release-master | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the ros2-development branch | ||
push: | ||
branches: | ||
- ros2-master | ||
pull_request: | ||
branches: | ||
- ros2-master | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
build: | ||
name: Build pre-release tests for ROS2 ${{ matrix.ros_distro }} and ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ros_distro: [iron, humble] | ||
include: | ||
- ros_distro: 'iron' | ||
os: ubuntu-22.04 | ||
- ros_distro: 'humble' | ||
os: ubuntu-22.04 | ||
|
||
env: | ||
ROS_DISTRO: ${{ matrix.ros_distro }} | ||
PRERELEASE: true | ||
BASEDIR: ${{ github.workspace }}/.work | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: industrial_ci | ||
uses: ros-industrial/industrial_ci@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