Skip to content

Commit c753941

Browse files
Add options for clang compiler (#178)
1 parent 48e37a2 commit c753941

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/reusable-industrial-ci-with-cache.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,21 @@ on:
6262
default: '.work'
6363
required: false
6464
type: string
65+
additional_debs:
66+
description: 'Additional debs to install for the build'
67+
default: ''
68+
required: false
69+
type: string
70+
c_compiler:
71+
description: 'C-compiler; set to clang to use clang as the C compiler'
72+
default: ''
73+
required: false
74+
type: string
75+
cxx_compiler:
76+
description: 'C++-compiler; set to clang++ to use clang as the C compiler'
77+
default: ''
78+
required: false
79+
type: string
6580

6681

6782
jobs:
@@ -100,6 +115,9 @@ jobs:
100115
ROS_REPO: ${{ inputs.ros_repo }}
101116
OS_CODE_NAME: ${{ inputs.os_code_name }}
102117
ROSDEP_SKIP_KEYS: ${{ inputs.rosdep_skip_keys }}
118+
ADDITIONAL_DEBS: ${{ inputs.additional_debs }}
119+
CC: ${{ inputs.c_compiler }}
120+
CXX: ${{ inputs.cxx_compiler }}
103121
id: ici
104122
- name: Download issue template for target failure # Has to be a local file
105123
if: ${{ always() && steps.ici.outcome == 'failure' && github.event_name == 'schedule' }}

0 commit comments

Comments
 (0)