Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/rolling_build_and_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# 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: Rolling build and Test

# This determines when this workflow is run
on:
workflow_dispatch:
pull_request:
push:
branches:
- main

jobs:
industrial_ci:
strategy:
fail-fast: false
matrix:
env:
- CI_NAME: clang-format
CLANG_FORMAT_CHECK: file
CLANG_FORMAT_VERSION: 10
- CI_NAME: build-and-test
- CI_NAME: clang-tidy
CLANG_TIDY: true

env:
CXXFLAGS: "-Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls"

ROS_DISTRO: rolling
ROS_REPO: main

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Run industrial_ci
- uses: 'ros-industrial/industrial_ci@master'
env: ${{ matrix.env }}