forked from ros-controls/ros2_controllers
-
Notifications
You must be signed in to change notification settings - Fork 2
61 lines (58 loc) · 1.7 KB
/
rolling-semi-binary-build.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
55
56
57
58
59
60
61
name: Rolling Semi-Binary Build
# description: 'Build & test that compiles the main dependencies from source.'
on:
workflow_dispatch:
pull_request:
branches:
- master
- '*feature*'
- '*feature/**'
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '**.py'
- '**.yaml'
- '.github/workflows/rolling-semi-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.rolling.repos'
push:
branches:
- master
paths:
- '**.hpp'
- '**.h'
- '**.cpp'
- '**.py'
- '**.yaml'
- '.github/workflows/rolling-semi-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- 'ros2_controllers.rolling.repos'
schedule:
# Run every morning to detect flakiness and broken dependencies
- cron: '33 1 * * *'
concurrency:
# cancel previous runs of the same workflow, except for pushes on master branch
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !startsWith(github.ref, '/refs/heads') }}
jobs:
semi_binary:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
with:
ros_distro: rolling
ros_repo: testing
upstream_workspace: ros2_controllers.rolling.repos
ref_for_scheduled_build: master
semi_binary_clang:
uses: ros-controls/ros2_control_ci/.github/workflows/reusable-industrial-ci-with-cache.yml@master
with:
ros_distro: rolling
ros_repo: testing
upstream_workspace: ros2_controllers.rolling.repos
ref_for_scheduled_build: rolling
additional_debs: clang
c_compiler: clang
cxx_compiler: clang++
not_test_build: true