Skip to content

Commit

Permalink
humble pipe (backport #197)
Browse files Browse the repository at this point in the history
Co-authored-by: Svastits <svastits1@gmail.com>
  • Loading branch information
Svastits committed Oct 24, 2024
1 parent b2a0b3e commit 40f0b53
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 8 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/industrial_ci_humble.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: ROS-Industrial CI humble
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:
push:
branches:
- humble
paths-ignore:
- doc/**
- '**.md'
- LICENSE
- .github/workflows/deploy_wiki.yml
pull_request:
branches:
- humble

schedule:
# Run every Monday at 1PM UTC
- cron: 0 13 * * 1

jobs:
industrial_ci:
name: ROS-Industrial CI humble
env:
ROS_REPO: ros
BUILDER: colcon
ANALYZER: sonarqube
TEST_COVERAGE: true
UPSTREAM_WORKSPACE: 'github:kroshu/kuka_robot_descriptions#humble github:kroshu/kuka-external-control-sdk#master'
ROS_DISTRO: humble
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:
- name: Reset ANALYZER for scheduled and push runs
run: |
if [[ "${{ github.event_name }}" == "schedule" ]] || { [[ "${{ github.event_name }}" == "push" ]] && [[ "${{ github.ref }}" != "refs/heads/humble" ]]; }; then
echo "ANALYZER=" >> $GITHUB_ENV
fi
- 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@v2
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}

# Run industrial_ci
- uses: 'kroshu/industrial_ci@master'
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ROS-Industrial CI
name: ROS-Industrial CI jazzy
run-name: ROS-Industrial CI - ${{ github.event_name }}

# This determines when this workflow is run
Expand All @@ -9,10 +9,8 @@ on:
push:
branches:
- master
- humble
- feature/**
- fix/**
- humble
paths-ignore:
- doc/**
- '**.md'
Expand All @@ -29,14 +27,14 @@ on:

jobs:
industrial_ci:
name: ROS-Industrial CI
name: ROS-Industrial CI jazzy
env:
ROS_REPO: ros
BUILDER: colcon
ANALYZER: sonarqube
TEST_COVERAGE: true
UPSTREAM_WORKSPACE: 'github:kroshu/kuka_robot_descriptions#master github:kroshu/kuka-external-control-sdk#master'
ROS_DISTRO: humble
ROS_DISTRO: jazzy
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 }}
Expand All @@ -45,12 +43,12 @@ jobs:
PR_NUMBER: ${{ github.event.number }}
ANALYZER_TOKEN: ${{ secrets.ANALYZER_TOKEN }}
DEBUG_BASH: true
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Reset ANALYZER for scheduled and push runs
run: |
if [[ "${{ github.event_name }}" == "schedule" ]] || { [[ "${{ github.event_name }}" == "push" ]] && [[ "${{ github.ref }}" != "refs/heads/master" ]] && [[ "${{ github.ref }}" != "refs/heads/humble" ]]; }; then
echo "ANALYZER=" >> $GITHUB_ENV
if [[ "${{ github.event_name }}" == "schedule" ]] || { [[ "${{ github.event_name }}" == "push" ]] && [[ "${{ github.ref }}" != "refs/heads/master" ]]; }; then
echo "ANALYZER=" >> $GITHUB_ENV
fi
- uses: actions/checkout@v2
with:
Expand Down

0 comments on commit 40f0b53

Please sign in to comment.