forked from ros-controls/control.ros.org
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (47 loc) · 1.51 KB
/
reusable-sphinx-check-single-version.yml
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: "Reusable workflow to check a single version"
on:
workflow_call:
inputs:
ROS2_CONTROL_PR:
type: string
ROS2_CONTROLLERS_PR:
type: string
ROS2_CONTROL_DEMOS_PR:
type: string
GAZEBO_ROS2_CONTROL_PR:
type: string
GZ_ROS2_CONTROL_PR:
type: string
jobs:
build-single-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: ros-controls/control.ros.org
ref: rolling
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade --requirement requirements.txt
shell: bash
- name: Install generate_parameter_library
run: |
cd
git clone https://github.com/PickNikRobotics/generate_parameter_library.git
cd generate_parameter_library/generate_parameter_library_py/
python -m pip install .
shell: bash
- name: Build single version with optional PRs' numbers considering warnings as errors
env:
ROS2_CONTROL_PR: ${{ inputs.ROS2_CONTROL_PR }}
ROS2_CONTROLLERS_PR: ${{ inputs.ROS2_CONTROLLERS_PR }}
ROS2_CONTROL_DEMOS_PR: ${{ inputs.ROS2_CONTROL_DEMOS_PR }}
GAZEBO_ROS2_CONTROL_PR: ${{ inputs.GAZEBO_ROS2_CONTROL_PR }}
GZ_ROS2_CONTROL_PR: ${{ inputs.GZ_ROS2_CONTROL_PR }}
run: make html-all-subrepos-with-errors