Skip to content

Commit

Permalink
upload artifacts ros build + colcon lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ArendJan committed Nov 15, 2024
1 parent 28502fb commit 35f46a6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/colcon-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: test-clang-format

on: [push, pull_request]

jobs:
colcon-lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: ros-tooling/setup-ros@master
with:
required-ros-distributions: 'humble'
- run: |
sudo apt install apt-rdepends -y
pip install colcon-lint
- name: colcon lint
run: colcon lint
2 changes: 2 additions & 0 deletions .github/workflows/ros-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
REPOS_FILE: ./sources.repos
SKIP_CHECKOUT: true
PACKAGES_BRANCH: ros_mirte_${{ matrix.ros_distro }}_${{ matrix.deb_distro }}_${{ matrix.arch }}

# SBUILD_CONF: "$enable_network = 1;"
# Skip pushing to repo when not on main branch
SKIP_PUSH: ${{ github.ref != 'refs/heads/main' }}
UPLOAD_ARTIFACTS: ${{ github.ref == 'refs/heads/main' }}
CONTINUE_ON_ERROR: ${{ github.ref != 'refs/heads/main' }} # allows for failing builds

0 comments on commit 35f46a6

Please sign in to comment.