git commit -m "first commit for v2"
This commit is contained in:
34
Devices/Libraries/Ros/ros_canopen/.github/workflows/main.yml
vendored
Executable file
34
Devices/Libraries/Ros/ros_canopen/.github/workflows/main.yml
vendored
Executable file
@@ -0,0 +1,34 @@
|
||||
# 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: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 4 * * *' # every day at 4 AM (UTC)
|
||||
workflow_dispatch: # allow manually starting this workflow
|
||||
|
||||
jobs:
|
||||
industrial_ci:
|
||||
name: ROS ${{ matrix.ROS_DISTRO }} (${{ matrix.ROS_REPO }})
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix: # matrix is the product of entries
|
||||
ROS_DISTRO: [melodic, noetic]
|
||||
ROS_REPO: [testing, main]
|
||||
env:
|
||||
CCACHE_DIR: "${{ github.workspace }}/.ccache" # directory for ccache (and how we enable ccache in industrial_ci)
|
||||
steps:
|
||||
- uses: actions/checkout@v2 # clone target repository
|
||||
- uses: actions/cache@v2 # fetch/store the directory used by ccache before/after the ci run
|
||||
with:
|
||||
path: ${{ env.CCACHE_DIR }}
|
||||
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:
|
||||
ROS_DISTRO: ${{ matrix.ROS_DISTRO }}
|
||||
ROS_REPO: ${{ matrix.ROS_REPO }}
|
||||
20
Devices/Libraries/Ros/ros_canopen/.github/workflows/prerelease.yml
vendored
Executable file
20
Devices/Libraries/Ros/ros_canopen/.github/workflows/prerelease.yml
vendored
Executable file
@@ -0,0 +1,20 @@
|
||||
name: Pre-release
|
||||
|
||||
on: [workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
default:
|
||||
strategy:
|
||||
matrix:
|
||||
distro: [melodic, noetic]
|
||||
|
||||
env:
|
||||
BUILDER: catkin_make_isolated
|
||||
ROS_DISTRO: ${{ matrix.distro }}
|
||||
PRERELEASE: true
|
||||
|
||||
name: "${{ matrix.distro }}"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ros-industrial/industrial_ci@master
|
||||
Reference in New Issue
Block a user