Skip to content

Commit 99ae1dc

Browse files
fix: Trying to fix ci failure #3
1 parent 990170b commit 99ae1dc

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757

5858
build-macos:
5959
runs-on: macos-15
60-
timeout-minutes: 20
60+
timeout-minutes: 25
6161
steps:
6262
- name: Checkout
6363
uses: actions/checkout@v4
@@ -68,15 +68,20 @@ jobs:
6868
xmake-version: latest
6969
package-cache: true
7070

71+
- name: Install LLVM 20
72+
run: brew install llvm@20
73+
7174
- name: Verify toolchain
7275
run: |
7376
xmake --version
77+
/opt/homebrew/opt/llvm@20/bin/clang++ --version
7478
clang --version
7579
7680
- name: Build with xmake
7781
run: |
78-
xmake f -m release -vv -y
79-
xmake -j$(sysctl -n hw.ncpu)
82+
export PATH=/opt/homebrew/opt/llvm@20/bin:$PATH
83+
xmake f -p macosx -m release --toolchain=llvm --sdk=/opt/homebrew/opt/llvm@20 -y -vv
84+
xmake -y -vv -j$(sysctl -n hw.ncpu)
8085
8186
build-windows:
8287
runs-on: windows-latest

0 commit comments

Comments
 (0)