Skip to content

Commit 4130644

Browse files
committed
ci: "Install Clang using homebrew" step improved
1 parent 3815460 commit 4130644

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci-conan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ jobs:
129129
if: matrix.toolchain.compiler.type == 'CLANG' && matrix.toolchain.os == 'macos-14'
130130
shell: bash
131131
run: |
132-
brew install llvm@18
132+
brew install llvm@${{ matrix.toolchain.compiler.version }}
133+
brew link --force --overwrite llvm@${{ matrix.toolchain.compiler.version }}
133134
- name: Install Libc++
134135
if: matrix.toolchain.compiler.type == 'CLANG' && matrix.toolchain.lib == 'libc++' && matrix.toolchain.os != 'macos-14'
135136
shell: bash

.github/workflows/ci-test-package-cmake.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ jobs:
133133
if: matrix.toolchain.compiler.type == 'CLANG' && matrix.toolchain.os == 'macos-14'
134134
shell: bash
135135
run: |
136-
brew install llvm@18
136+
brew install llvm@${{ matrix.toolchain.compiler.version }}
137+
brew link --force --overwrite llvm@${{ matrix.toolchain.compiler.version }}
137138
- name: Install Libc++
138139
if: matrix.toolchain.compiler.type == 'CLANG' && matrix.toolchain.lib == 'libc++' && matrix.toolchain.os != 'macos-14'
139140
shell: bash

0 commit comments

Comments
 (0)