-
Notifications
You must be signed in to change notification settings - Fork 22
48 lines (45 loc) · 1.26 KB
/
ros_build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: ROS2 Build
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: write
statuses: write
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
cancel-in-progress: true
jobs:
super-linter:
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Super Linter
uses: github/super-linter/slim@v7
env:
DEFAULT_BRANCH: ${{ github.base_ref }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LOG_LEVEL: NOTICE
VALIDATE_ALL_CODEBASE: false
VALIDATE_CPP: true
VALIDATE_PYTHON_BLACK: true
VALIDATE_PYTHON_FLAKE8: true
VALIDATE_XML: true
VALIDATE_YAML: true
ros2_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: psdk_ros2
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- uses: ros-tooling/[email protected]
with:
package-name: psdk_interfaces psdk_wrapper
target-ros2-distro: humble
skip-tests: true