Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-penev authored Nov 26, 2023
1 parent f987c36 commit a240f0f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,9 @@ jobs:
if [[ '${{ matrix.clang-runtime }}' == '17' || ${{ matrix.clang-runtime }} -le 16 ]]; then
PATH_TO_LLVM_BUILD=/usr/local/opt/llvm@${{ matrix.clang-runtime }}/
pushd /usr/local/opt
[ '${{ matrix.clang-runtime }}' == '9' ] && w="1" || w="0"
[ '${{ matrix.clang-runtime }}' == '17' ] && w="5" || w="0"
w="0"
[ '${{ matrix.clang-runtime }}' == '9' ] && w="1"
[ '${{ matrix.clang-runtime }}' == '17' ] && w="5"
sudo curl -L https://github.com/llvm/llvm-project/releases/download/llvmorg-${{ matrix.clang-runtime }}.0.$w/clang+llvm-${{ matrix.clang-runtime }}.0.$w-x86_64-apple-darwin.tar.xz | sudo xz -d -c | sudo tar -x
sudo rm -fr /usr/local/clang*
sudo mv clang+llvm-${{ matrix.clang-runtime }}.0.$w-x86_64-apple-darwin/ llvm@${{ matrix.clang-runtime }}/
Expand Down

0 comments on commit a240f0f

Please sign in to comment.