Skip to content

Commit 82d6140

Browse files
committed
build: Downgrade LLVM for Ruby builds on Windows
Signed-off-by: Dmitry Dygalo <[email protected]>
1 parent 98a799d commit 82d6140

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,15 @@ jobs:
551551
cache-version: v1
552552
working-directory: ./bindings/ruby
553553

554+
- name: Setup LLVM & Clang
555+
id: clang
556+
uses: KyleMayes/install-llvm-action@v2
557+
if: matrix.os == 'windows-2022'
558+
with:
559+
version: 18
560+
directory: ${{ runner.temp }}/llvm-18
561+
cached: ${{ steps.cache-llvm.outputs.cache-hit }}
562+
554563
- uses: actions/setup-python@v5
555564
with:
556565
python-version: 3.11
@@ -588,6 +597,15 @@ jobs:
588597
cache-version: v1
589598
working-directory: ./bindings/ruby
590599

600+
- name: Setup LLVM & Clang
601+
id: clang
602+
uses: KyleMayes/install-llvm-action@v2
603+
if: matrix.os == 'windows-2022'
604+
with:
605+
version: 18
606+
directory: ${{ runner.temp }}/llvm-18
607+
cached: ${{ steps.cache-llvm.outputs.cache-hit }}
608+
591609
- name: Build gem
592610
run: |
593611
gem build css_inline.gemspec

0 commit comments

Comments
 (0)