@@ -120,8 +120,10 @@ jobs:
120120
121121 - name : Install tools and dependencies
122122 run : |
123- brew install llvm
124- rustup default nightly-2025-09-07
123+ # Due to https://github.com/llvm/llvm-project/issues/155531, we need
124+ # to use llvm@20 currently, and will switch to llvm when it is solved.
125+ brew install llvm@20
126+ rustup default nightly-2025-08-10
125127
126128 brew install tree
127129 pip3 install --use-pep517 python-dotenv jinja2
@@ -132,7 +134,7 @@ jobs:
132134 - name : Build
133135 run : |
134136 if [ ${{ matrix.build_type }} == "debug" ]; then
135- export PATH="/opt/homebrew/opt/ llvm/bin:$PATH"
137+ export PATH="$(brew --prefix llvm@20) /bin:$PATH"
136138 fi
137139 export PATH=$(pwd)/core/ten_gn:$PATH
138140 echo $PATH
@@ -170,7 +172,7 @@ jobs:
170172 - name : Upload tests relevant artifacts
171173 uses : actions/upload-artifact@v4
172174 with :
173- name : tests-artifacts-${{ matrix.build_type }}
175+ name : tests-artifacts-mac-arm64- ${{ matrix.build_type }}
174176 path : tests-artifacts.tar.gz
175177 if-no-files-found : ignore
176178
@@ -250,8 +252,10 @@ jobs:
250252
251253 - name : Install tools and dependencies
252254 run : |
253- brew install llvm
254- rustup default nightly-2025-09-07
255+ # Due to https://github.com/llvm/llvm-project/issues/155531, we need
256+ # to use llvm@20 currently, and will switch to llvm when it is solved.
257+ brew install llvm@20
258+ rustup default nightly-2025-08-10
255259
256260 brew install tree
257261 pip3 install --use-pep517 python-dotenv jinja2
@@ -262,7 +266,7 @@ jobs:
262266 - name : Download build artifacts (tar archive)
263267 uses : actions/download-artifact@v4
264268 with :
265- name : tests-artifacts-${{ matrix.build_type }}
269+ name : tests-artifacts-mac-arm64- ${{ matrix.build_type }}
266270 path : out/mac/arm64
267271
268272 - name : Extract tests artifacts preserving permissions
@@ -405,8 +409,10 @@ jobs:
405409
406410 - name : Install tools and dependencies
407411 run : |
408- brew install llvm
409- rustup default nightly-2025-09-07
412+ # Due to https://github.com/llvm/llvm-project/issues/155531, we need
413+ # to use llvm@20 currently, and will switch to llvm when it is solved.
414+ brew install llvm@20
415+ rustup default nightly-2025-08-10
410416
411417 brew install tree
412418 pip3 install --use-pep517 python-dotenv jinja2
@@ -417,7 +423,7 @@ jobs:
417423 - name : Download build artifacts (tar archive)
418424 uses : actions/download-artifact@v4
419425 with :
420- name : tests-artifacts-${{ matrix.build_type }}
426+ name : tests-artifacts-mac-arm64- ${{ matrix.build_type }}
421427 path : out/mac/arm64
422428
423429 - name : Extract tests artifacts preserving permissions
@@ -497,8 +503,10 @@ jobs:
497503
498504 - name : Install tools and dependencies
499505 run : |
500- brew install llvm
501- rustup default nightly-2025-09-07
506+ # Due to https://github.com/llvm/llvm-project/issues/155531, we need
507+ # to use llvm@20 currently, and will switch to llvm when it is solved.
508+ brew install llvm@20
509+ rustup default nightly-2025-08-10
502510
503511 brew install tree
504512 pip3 install --use-pep517 python-dotenv jinja2
@@ -509,7 +517,7 @@ jobs:
509517 - name : Download build artifacts (tar archive)
510518 uses : actions/download-artifact@v4
511519 with :
512- name : tests-artifacts-${{ matrix.build_type }}
520+ name : tests-artifacts-mac-arm64- ${{ matrix.build_type }}
513521 path : out/mac/arm64
514522
515523 - name : Extract tests artifacts preserving permissions
@@ -535,7 +543,7 @@ jobs:
535543 GOTRACEBACK : crash
536544 run : |
537545 if [ ${{ matrix.build_type }} == "debug" ]; then
538- export PATH="/opt/homebrew/opt/ llvm/bin:$PATH"
546+ export PATH="$(brew --prefix llvm@20) /bin:$PATH"
539547 fi
540548 export PATH=$(pwd)/core/ten_gn:$PATH
541549 cd out/mac/arm64/
@@ -597,8 +605,10 @@ jobs:
597605
598606 - name : Install tools and dependencies
599607 run : |
600- brew install llvm
601- rustup default nightly-2025-09-07
608+ # Due to https://github.com/llvm/llvm-project/issues/155531, we need
609+ # to use llvm@20 currently, and will switch to llvm when it is solved.
610+ brew install llvm@20
611+ rustup default nightly-2025-08-10
602612
603613 brew install tree
604614 pip3 install --use-pep517 python-dotenv jinja2
@@ -609,7 +619,7 @@ jobs:
609619 - name : Download build artifacts (tar archive)
610620 uses : actions/download-artifact@v4
611621 with :
612- name : tests-artifacts-${{ matrix.build_type }}
622+ name : tests-artifacts-mac-arm64- ${{ matrix.build_type }}
613623 path : out/mac/arm64
614624
615625 - name : Extract tests artifacts preserving permissions
@@ -635,7 +645,7 @@ jobs:
635645 GOTRACEBACK : crash
636646 run : |
637647 if [ ${{ matrix.build_type }} == "debug" ]; then
638- export PATH="/opt/homebrew/opt/ llvm/bin:$PATH"
648+ export PATH="$(brew --prefix llvm@20) /bin:$PATH"
639649 fi
640650 export PATH=$(pwd)/core/ten_gn:$PATH
641651 cd out/mac/arm64/
@@ -697,8 +707,10 @@ jobs:
697707
698708 - name : Install tools and dependencies
699709 run : |
700- brew install llvm
701- rustup default nightly-2025-09-07
710+ # Due to https://github.com/llvm/llvm-project/issues/155531, we need
711+ # to use llvm@20 currently, and will switch to llvm when it is solved.
712+ brew install llvm@20
713+ rustup default nightly-2025-08-10
702714
703715 brew install tree
704716 pip3 install --use-pep517 python-dotenv jinja2
@@ -709,7 +721,7 @@ jobs:
709721 - name : Download build artifacts (tar archive)
710722 uses : actions/download-artifact@v4
711723 with :
712- name : tests-artifacts-${{ matrix.build_type }}
724+ name : tests-artifacts-mac-arm64- ${{ matrix.build_type }}
713725 path : out/mac/arm64
714726
715727 - name : Extract tests artifacts preserving permissions
@@ -735,7 +747,7 @@ jobs:
735747 GOTRACEBACK : crash
736748 run : |
737749 if [ ${{ matrix.build_type }} == "debug" ]; then
738- export PATH="/opt/homebrew/opt/ llvm/bin:$PATH"
750+ export PATH="$(brew --prefix llvm@20) /bin:$PATH"
739751 fi
740752 export PATH=$(pwd)/core/ten_gn:$PATH
741753 cd out/mac/arm64/
0 commit comments