From c75394125c75e72dab542c8a23243646d5941d9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Fr=C3=B6hlich?= Date: Wed, 27 Nov 2024 22:40:46 +0100 Subject: [PATCH] Add options for clang compiler (#178) --- .../reusable-industrial-ci-with-cache.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/reusable-industrial-ci-with-cache.yml b/.github/workflows/reusable-industrial-ci-with-cache.yml index 1246d56..5124518 100644 --- a/.github/workflows/reusable-industrial-ci-with-cache.yml +++ b/.github/workflows/reusable-industrial-ci-with-cache.yml @@ -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: @@ -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' }}