Skip to content

Commit

Permalink
Add explicit 'install-gcc' flag in download-libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
p-senichenkov committed Dec 19, 2024
1 parent 7940b8a commit 8d17f04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/composite-actions/download-libraries/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,14 @@ inputs:
description: 'Install boost built with clang'
default: false

install-gcc:
type: boolean
description: 'Install GCC toolset (compiler and build tools)'
default: true

install-clang:
type: boolean
description: 'Install clang'
description: 'Install clang toolset (compiler and build tools)'
default: false

runs:
Expand All @@ -35,7 +40,7 @@ runs:
sudo apt-get update -y
sudo apt-get install gcc-10 g++-10 cmake build-essential -y
shell: bash
if: inputs.install-clang != 'true'
if: inputs.install-gcc != 'false'

- name: Install clang
# llvm.sh installs all needed libraries, no need in build-essential
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/core-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
- name: Download libraries
uses: ./.github/composite-actions/download-libraries
with:
install-gcc: false
install-clang: true
install-boost-gcc: false
install-boost-clang: true
Expand Down

0 comments on commit 8d17f04

Please sign in to comment.