[noetic-devel] Fix workflows #38
Workflow file for this run
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
name: ROS-noetic Industrial CI | |
on: | |
pull_request: | |
jobs: | |
clang_format_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: run industrial_ci | |
uses: 'ros-industrial/industrial_ci@master' | |
env: | |
ROS_DISTRO: noetic | |
CLANG_FORMAT_CHECK: file | |
CLANG_FORMAT_VERSION: "10" | |
clang_tidy_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: free up disk space | |
run: | | |
sudo apt-get -qq purge build-essential "ghc*" | |
sudo apt-get clean | |
docker system prune -af | |
sudo rm -rf /usr/local | |
df -h | |
- name: run industrial_ci | |
uses: 'ros-industrial/industrial_ci@master' | |
env: | |
ROS_DISTRO: noetic | |
BEFORE_BUILD_TARGET_WORKSPACE: 'apt update -q && python3 -m pip install -q -r requirements.txt' | |
CLANG_TIDY: pedantic | |
black_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: run industrial_ci | |
uses: 'ros-industrial/industrial_ci@master' | |
env: | |
ROS_DISTRO: noetic | |
BLACK_CHECK: true | |
pylint_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: free up disk space | |
run: | | |
sudo apt-get -qq purge build-essential "ghc*" | |
sudo apt-get clean | |
docker system prune -af | |
sudo rm -rf /usr/local | |
df -h | |
- name: run industrial_ci | |
uses: 'ros-industrial/industrial_ci@master' | |
env: | |
ROS_DISTRO: noetic | |
BEFORE_BUILD_TARGET_WORKSPACE: 'apt update -q && python3 -m pip install -q -r requirements.txt' | |
PYLINT_ARGS: '--errors-only' | |
PYLINT_CHECK: true | |
catkin_lint_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: free up disk space | |
run: | | |
sudo apt-get -qq purge build-essential "ghc*" | |
sudo apt-get clean | |
docker system prune -af | |
sudo rm -rf /usr/local | |
df -h | |
- name: run industrial_ci | |
uses: 'ros-industrial/industrial_ci@master' | |
env: | |
ROS_DISTRO: noetic | |
BEFORE_BUILD_TARGET_WORKSPACE: 'apt update -q && python3 -m pip install -q -r requirements.txt' | |
CATKIN_LINT: true | |
build_check: | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
strategy: | |
fail-fast: false | |
matrix: | |
env: | |
- ROS_DISTRO: noetic | |
ROS_REPO: main | |
BEFORE_BUILD_TARGET_WORKSPACE: 'apt update -q && python3 -m pip install -q -r requirements.txt' | |
IMMEDIATE_TEST_OUTPUT: true | |
- ROS_DISTRO: noetic | |
ROS_REPO: testing | |
BEFORE_BUILD_TARGET_WORKSPACE: 'apt update -q && python3 -m pip install -q -r requirements.txt' | |
IMMEDIATE_TEST_OUTPUT: true | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: free up disk space | |
run: | | |
sudo apt-get -qq purge build-essential "ghc*" | |
sudo apt-get clean | |
docker system prune -af | |
sudo rm -rf /usr/local | |
df -h | |
- name: run industrial_ci | |
uses: 'ros-industrial/industrial_ci@master' | |
env: ${{matrix.env}} |