Skip to content

Commit

Permalink
separate humble and jazzy pipes
Browse files Browse the repository at this point in the history
  • Loading branch information
svastits committed Dec 20, 2024
1 parent c6bbd5b commit 3219af9
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/industrial_ci.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,19 @@
name: ROS-Industrial CI
run-name: ROS-Industrial CI - ${{ github.event_name }}

# This determines when this workflow is run
# on: [push, pull_request] # on all pushes and PRs

# or more fine-grained
on:
# When master or melodic-devel branch is pushed to
push:
branches:
- master
- feature/**
- fix/**
paths-ignore:
- doc/**
- '**.md'
- LICENSE

# When there is a pull request against master
pull_request:
branches:
- master
- feature/**
- fix/**
paths-ignore:
- doc/**
- '**.md'
- LICENSE

jobs:
industrial_ci:
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/industrial_ci_humble.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: ROS-Industrial CI humble
run-name: ROS-Industrial CI - ${{ github.event_name }}

on:
push:
branches:
- humble

pull_request:
branches:
- humble

jobs:
industrial_ci:
name: ROS-Industrial CI
strategy:
matrix:
env:
- ROS_REPO: ros
BUILDER: colcon
ROS_DISTRO: humble
env:
CCACHE_DIR: /github/home/.ccache # Directory for ccache (and how we enable ccache in industrial_ci)
EVENT_NAME: ${{ github.event_name }}
BRANCH: ${{ github.event.ref }}
PR_BRANCH: ${{ github.event.pull_request.head.ref }}
PR_BASE: ${{ github.event.pull_request.base.ref }}
PR_NUMBER: ${{ github.event.number }}
ANALYZER_TOKEN: ${{ secrets.ANALYZER_TOKEN }}
DEBUG_BASH: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
# This step will fetch/store the directory used by ccache before/after the ci run
- uses: actions/cache@v4
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
# Run industrial_ci
- uses: 'kroshu/industrial_ci@master'
env: ${{ matrix.env }}

0 comments on commit 3219af9

Please sign in to comment.