From 1ebe49df9436d26140d327550646b725c94d4102 Mon Sep 17 00:00:00 2001 From: Christoph Froehlich Date: Mon, 25 Nov 2024 19:59:54 +0000 Subject: [PATCH] Add options for clang compiler --- .../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' }}