Skip to content

Commit 00f4b5f

Browse files
committed
install llvm in MacOS
1 parent b6b44a6 commit 00f4b5f

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ jobs:
297297
autoconf-archive \
298298
automake \
299299
libtool \
300-
mono
300+
mono \
301+
llvm
301302
302303
- name: Configure NuGet duplicate handling
303304
if: github.repository == 'asfernandes/fb-cpp'
@@ -336,6 +337,10 @@ jobs:
336337
setapikey "${{ secrets.GITHUB_TOKEN }}" \
337338
-Source "${{ env.FEED_URL }}"
338339
340+
- name: Add LLVM tools to PATH
341+
if: runner.os == 'MacOS'
342+
run: echo "$(brew --prefix llvm)/bin" >> "$GITHUB_PATH"
343+
339344
- name: Configure CMake
340345
run: |
341346
cp CMakeUserPresets.json.posix.template CMakeUserPresets.json

.github/workflows/pull-request.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,8 @@ jobs:
287287
autoconf-archive \
288288
automake \
289289
libtool \
290-
mono
290+
mono \
291+
llvm
291292
292293
- name: Configure NuGet duplicate handling
293294
if: github.repository == 'asfernandes/fb-cpp'
@@ -326,6 +327,10 @@ jobs:
326327
setapikey "${{ secrets.GITHUB_TOKEN }}" \
327328
-Source "${{ env.FEED_URL }}"
328329
330+
- name: Add LLVM tools to PATH
331+
if: runner.os == 'MacOS'
332+
run: echo "$(brew --prefix llvm)/bin" >> "$GITHUB_PATH"
333+
329334
- name: Configure CMake
330335
run: |
331336
cp CMakeUserPresets.json.posix.template CMakeUserPresets.json

0 commit comments

Comments
 (0)