From 6690a0ce695624a23d5cb76aac9b3b58145184e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20=C5=A0togl?= Date: Mon, 8 Nov 2021 16:53:10 +0100 Subject: [PATCH 1/2] Add Rolling build --- .github/workflows/rolling_build_and_test.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/rolling_build_and_test.yaml diff --git a/.github/workflows/rolling_build_and_test.yaml b/.github/workflows/rolling_build_and_test.yaml new file mode 100644 index 0000000..3a83018 --- /dev/null +++ b/.github/workflows/rolling_build_and_test.yaml @@ -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: 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 }} From 10408cb7ebcedaf693f1d6e64eb1a4b30bb6d3d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20=C5=A0togl?= Date: Mon, 8 Nov 2021 16:55:08 +0100 Subject: [PATCH 2/2] Rename workflow name for clarity --- .github/workflows/rolling_build_and_test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rolling_build_and_test.yaml b/.github/workflows/rolling_build_and_test.yaml index 3a83018..3e26f8a 100644 --- a/.github/workflows/rolling_build_and_test.yaml +++ b/.github/workflows/rolling_build_and_test.yaml @@ -1,7 +1,7 @@ # 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: Build and Test +name: Rolling build and Test # This determines when this workflow is run on: