1919 id : cache-llvm-16
2020 with :
2121 path : |
22- /usr/local/opt /llvm@16/
22+ /opt/homebrew/Cellar /llvm@16/
2323
2424 /usr/local/Cellar/llvm/
2525 key : ${{ runner.os }}-llvm-16
@@ -46,18 +46,18 @@ jobs:
4646 if : ${{ steps.cache-llvm-16.outputs.cache-hit!= 'true' }}
4747 run : |
4848 brew install llvm@16
49- export PATH="/usr/local/opt /llvm@16/bin:$PATH"
50- export LDFLAGS="-L/usr/local/opt /llvm@16/lib"
51- export CPPFLAGS="-I/usr/local/opt /llvm@16/include"
49+ export PATH="/opt/homebrew/Cellar /llvm@16/bin:$PATH"
50+ export LDFLAGS="-L/opt/homebrew/Cellar /llvm@16/lib"
51+ export CPPFLAGS="-I/opt/homebrew/Cellar /llvm@16/include"
5252
5353 - name : install
5454 run : |
5555 brew install xmake [email protected] six z3 zstd 5656
5757 brew install libtool automake
58- export LDFLAGS="-L/usr/local/opt /llvm@16/lib"
59- export CPPFLAGS="-I/usr/local/opt /llvm@16/include"
60- echo 'export PATH="/usr/local/opt /llvm@16/bin:$PATH"' >> /Users/runner/.bash_profile
58+ export LDFLAGS="-L/opt/homebrew/Cellar /llvm@16/lib"
59+ export CPPFLAGS="-I/opt/homebrew/Cellar /llvm@16/include"
60+ echo 'export PATH="/opt/homebrew/Cellar /llvm@16/bin:$PATH"' >> /Users/runner/.bash_profile
6161
6262 - name : vcpkg-action
6363
@@ -78,11 +78,11 @@ jobs:
7878 xmake-version : branch@dev
7979 actions-cache-folder : " .xmake-cache"
8080 - run : xmake l install.lua
81- - run : deno run -A xmake.ts --mode=test --group=test --toolchain=llvm --sdk=/usr/local/opt /llvm@16/
81+ - run : deno run -A xmake.ts --mode=test --group=test --toolchain=llvm --sdk=/opt/homebrew/Cellar /llvm@16/
8282 - run : xmake clean -a
83- - run : xmake f --toolchain=llvm --sdk=/usr/local/opt /llvm@16/ -y -v --project=. "--file=./xmake.lua"
83+ - run : xmake f --toolchain=llvm --sdk=/opt/homebrew/Cellar /llvm@16/ -y -v --project=. "--file=./xmake.lua"
8484 - run : xmake build -v -y -w --project=. "--file=./xmake.lua"
8585 - run : xmake clean -a
86- - run : xmake f --toolchain=llvm --sdk=/usr/local/opt /llvm@16/ -y -v --project=. "--file=./xmake.lua" --mode=test
86+ - run : xmake f --toolchain=llvm --sdk=/opt/homebrew/Cellar /llvm@16/ -y -v --project=. "--file=./xmake.lua" --mode=test
8787 - run : xmake build -v -y -w --project=. "--file=./xmake.lua" --group=test
8888 - run : xmake run --group=test
0 commit comments