Update pre-commit configuration (#28) #90
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: Continuous Integration | ||
on: | ||
push: | ||
branches: | ||
- iron | ||
pull_request: | ||
workflow_dispatch: | ||
env: | ||
CLANG_TIDY: true | ||
jobs: | ||
test: | ||
name: Test Implementation | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
env: | ||
<<<<<<< HEAD | ||
- IMAGE: iron-ci | ||
ROS_DISTRO: iron | ||
======= | ||
- IMAGE: rolling-ci | ||
ROS_DISTRO: rolling | ||
>>>>>>> d48bcbd (Update pre-commit configuration (#28)) | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Log into registry | ||
uses: docker/login-action@v3.2.0 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Run ROS Industrial CI | ||
uses: ros-industrial/industrial_ci@master | ||
env: | ||
DOCKER_IMAGE: ghcr.io/robotic-decision-making-lab/ros2-template:${{ matrix.env.IMAGE }} | ||
CXXFLAGS: >- | ||
-Wall -Wextra -Wpedantic -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls | ||
CC: ${{ env.CLANG_TIDY && 'clang' }} | ||
CXX: ${{ env.CLANG_TIDY && 'clang++' }} |