Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from luis-camero/noetic-devel
ROS Industrial CI
- Loading branch information
Showing
9 changed files
with
137 additions
and
129 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: CI | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the noetic-devel branch | ||
push: | ||
branches: [ noetic-devel ] | ||
pull_request: | ||
branches: [ noetic-devel ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
industrial_ci: | ||
name: ROS ${{ matrix.ROS_DISTRO }} (${{ matrix.ROS_REPO }}) | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
ROS_DISTRO: [noetic] | ||
ROS_REP: [testing, main] | ||
env: | ||
CCACHE_DIR: "${{ github.workspace }}/.ccache" # directory for ccache (and how we enable ccache in industrial_ci) | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ${{ env.CCACHE_DIR }} | ||
# This configuration will always create a new ccache cache starting off from the previous one (if any). | ||
# In this simple version it will be shared between all builds of the same ROS_REPO and ROS_REPO | ||
# and might need some fine-tuning to match the use case | ||
key: ccache-${{ matrix.ROS_DISTRO }}-${{ matrix.ROS_REPO }}-${{github.run_id}} | ||
restore-keys: | | ||
ccache-${{ matrix.ROS_DISTRO }}-${{ matrix.ROS_REPO }}- | ||
- uses: 'ros-industrial/industrial_ci@master' # run industrial_ci | ||
env: # either pass all entries explicitly | ||
ROS_DISTRO: ${{ matrix.ROS_DISTRO }} | ||
ROS_REPO: ${{ matrix.ROS_REPO }} | ||
# with: # or pass the full matrix as config | ||
# config: ${{toJSON(matrix)} |
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
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
Oops, something went wrong.