Skip to content

Commit db986d4

Browse files
committed
Use a modern (brew) LLVM version
The macOS ones is so old, it can't even handle `--version`! :(
1 parent a963e9a commit db986d4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,8 @@ jobs:
218218
#- run: find / -name 'llvm-profdata*'
219219
#- run: find / -name 'llvm-cov*'
220220
- run: |
221-
/Library/Developer/CommandLineTools/usr/bin/llvm-profdata --version
222-
/Library/Developer/CommandLineTools/usr/bin/llvm-cov --version
223-
/Library/Developer/CommandLineTools/usr/bin/llvm-cov export --help
221+
/opt/homebrew/Cellar/llvm@18/18.1.8/bin/llvm-profdata --version
222+
/opt/homebrew/Cellar/llvm@18/18.1.8/bin/llvm-cov --version
224223
- name: Install lcov
225224
run: brew install lcov
226225
- name: Install Qt
@@ -265,8 +264,8 @@ jobs:
265264
cmake -D CMAKE_BUILD_TYPE=Release \
266265
-D CODECOV_GCOV=${{ startsWith(matrix.env.cc, 'gcc') && '/usr/local/bin/gcov-14' || '/usr/bin/gcov'}} \
267266
-D ENABLE_COVERAGE=${{ matrix.env.coverage }} \
268-
-D LLVM_COV=/Library/Developer/CommandLineTools/usr/bin/llvm-cov \
269-
-D LLVM_PROFDATA=/Library/Developer/CommandLineTools/usr/bin/llvm-profdata \
267+
-D LLVM_COV=/opt/homebrew/Cellar/llvm@18/18.1.8/bin/llvm-cov \
268+
-D LLVM_PROFDATA=/opt/homebrew/Cellar/llvm@18/18.1.8/bin/llvm-profdata \
270269
-D QT_INSTALL_DOCS="$RUNNER_WORKSPACE/Qt/Docs/Qt-${{ matrix.qt }}" \
271270
-S "$GITHUB_WORKSPACE" -B "$RUNNER_TEMP"
272271
echo "dokitVersion=$(cat "$RUNNER_TEMP/version.txt")" | tee -a "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)