Skip to content

Commit

Permalink
Fix: use quotes in recently changed choice options
Browse files Browse the repository at this point in the history
  • Loading branch information
p-senichenkov committed Jan 6, 2025
1 parent eb10e2e commit 2e6a8e9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/composite-actions/install-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ runs:
sudo apt-get update -y
sudo apt-get install cmake build-essential -y
shell: bash
if: inputs.install-build-tools == apt
if: inputs.install-build-tools == 'apt'
- name: Install build tools using brew
run: brew install make cmake
shell: bash
if: inputs.install-build-tools == brew
if: inputs.install-build-tools == 'brew'

- name: Install GCC toolset
run: |
sudo apt-get install gcc-10 g++-10 -y
shell: bash
if: inputs.install-toolset == gcc
if: inputs.install-toolset == 'gcc'
- name: Install Clang toolset (on Linux)
# "all" option is needed to install libc++ and libc++abi
# apt is hardcoded in llvm.sh, so we can't use it everywhere
Expand All @@ -67,11 +67,11 @@ runs:
chmod +x llvm.sh
sudo ./llvm.sh 17 all
shell: bash
if: inputs.install-toolset == clang-linux
- names: Install LLVM Clang toolset (on macOS)
if: inputs.install-toolset == 'clang-linux'
- name: Install LLVM Clang toolset (on macOS)
run: brew install llvm@17
shell: bash
if: inputs.install-toolset == llvm-clang-macos
if: inputs.install-toolset == 'llvm-clang-macos'

- name: Make lib directory
run: |
Expand Down Expand Up @@ -125,7 +125,7 @@ runs:
./bootstrap.sh --prefix=/usr
sudo ./b2 install --prefix=/usr
shell: bash
if: inputs.install-boost == gcc
if: inputs.install-boost == 'gcc'
- name: Install Boost built with Clang (on Linux)
run: |
cd lib/boost
Expand All @@ -134,7 +134,7 @@ runs:
./b2 toolset=clang cxxflags="-stdlib=libc++" linkflags="-stdlib=libc++"
sudo ./b2 install --prefix=/usr
shell: bash
if: inputs.install-boost == clang-linux
if: inputs.install-boost == 'clang-linux'
- name: Install Boost built with LLVM Clang (on macOS)
# b2 doesn't recognize custom compilers, so some trick is needed:
# Also, /usr is read-only, so install into /usr/local
Expand All @@ -146,11 +146,11 @@ runs:
./b2 toolset=clang cxxflags="-std=c++11 -stdlib=libc++" linkflags="-stdlib=libc++"
sudo ./b2 install --prefix=/usr/local
shell: bash
if: inputs.install-boost == llvm-clang-macos
if: inputs.install-boost == 'llvm-clang-macos'
- name: Install Boost built with Apple Clang
run: brew install boost
shell: bash
if: inputs.install-boost == apple-clang
if: inputs.install-boost == 'apple-clang'

- name: Download frozen
uses: ./.github/composite-actions/download-library
Expand Down

0 comments on commit 2e6a8e9

Please sign in to comment.