Skip to content

Commit

Permalink
Add options for clang compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Nov 25, 2024
1 parent 48e37a2 commit 1ebe49d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/reusable-industrial-ci-with-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,21 @@ on:
default: '.work'
required: false
type: string
additional_debs:
description: 'Additional debs to install for the build'
default: ''
required: false
type: string
c_compiler:
description: 'C-compiler; set to clang to use clang as the C compiler'
default: ''
required: false
type: string
cxx_compiler:
description: 'C++-compiler; set to clang++ to use clang as the C compiler'
default: ''
required: false
type: string


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

0 comments on commit 1ebe49d

Please sign in to comment.