-
Notifications
You must be signed in to change notification settings - Fork 40
54 lines (53 loc) · 1.47 KB
/
sphinx-check-page-multiversion.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
49
50
51
52
53
54
name: "Build Multiversion Page"
on:
workflow_dispatch:
inputs:
BASE_BRANCH:
description: 'Chose branch to run on'
required: true
default: 'rolling'
type: choice
options:
- humble
- iron
- jazzy
- rolling
pull_request:
branches:
- rolling
paths:
- 'make_help_scripts/**'
- 'conf.py'
jobs:
build-multiversion:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
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: Install doxygen and graphviz
run: sudo apt-get install -y doxygen graphviz
- name: Build multiversion with API
env:
BASE_BRANCH: ${{ github.event.inputs.BASE_BRANCH }}
BASE_BRANCH_PR: ${{ github.event.pull_request.head.ref }}
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
make multiversion-with-api