Skip to content

Commit e3262a1

Browse files
committed
Update llvm.yml
1 parent bae0e8f commit e3262a1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/llvm.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
path: |
2222
/opt/homebrew/Cellar/llvm@16/
23-
opt/homebrew/opt/llvm@16/
23+
/opt/homebrew/opt/llvm@16/
2424
2525
/usr/local/Cellar/llvm/
2626
key: ${{ runner.os }}-llvm-16
@@ -47,18 +47,18 @@ jobs:
4747
if: ${{ steps.cache-llvm-16.outputs.cache-hit!= 'true' }}
4848
run: |
4949
brew install llvm@16
50-
export PATH="opt/homebrew/opt/llvm@16/bin:$PATH"
51-
export LDFLAGS="-Lopt/homebrew/opt/llvm@16/lib"
52-
export CPPFLAGS="-Iopt/homebrew/opt/llvm@16/include"
50+
export PATH="/opt/homebrew/opt/llvm@16/bin:$PATH"
51+
export LDFLAGS="-L/opt/homebrew/opt/llvm@16/lib"
52+
export CPPFLAGS="-I/opt/homebrew/opt/llvm@16/include"
5353
5454
- name: install
5555
run: |
5656
brew install xmake [email protected] six z3 zstd
5757
5858
brew install libtool automake
59-
export LDFLAGS="-Lopt/homebrew/opt/llvm@16/lib"
60-
export CPPFLAGS="-Iopt/homebrew/opt/llvm@16/include"
61-
echo 'export PATH="opt/homebrew/opt/llvm@16/bin:$PATH"' >> ~/.bash_profile
59+
export LDFLAGS="-L/opt/homebrew/opt/llvm@16/lib"
60+
export CPPFLAGS="-I/opt/homebrew/opt/llvm@16/include"
61+
echo 'export PATH="/opt/homebrew/opt/llvm@16/bin:$PATH"' >> ~/.bash_profile
6262
6363
- name: vcpkg-action
6464

@@ -79,11 +79,11 @@ jobs:
7979
xmake-version: branch@dev
8080
actions-cache-folder: ".xmake-cache"
8181
- run: xmake l install.lua
82-
- run: deno run -A xmake.ts --mode=test --group=test --toolchain=llvm --sdk=opt/homebrew/opt/llvm@16/
82+
- run: deno run -A xmake.ts --mode=test --group=test --toolchain=llvm --sdk=/opt/homebrew/opt/llvm@16/
8383
- run: xmake clean -a
84-
- run: xmake f --toolchain=llvm --sdk=opt/homebrew/opt/llvm@16/ -y -v --project=. "--file=./xmake.lua"
84+
- run: xmake f --toolchain=llvm --sdk=/opt/homebrew/opt/llvm@16/ -y -v --project=. "--file=./xmake.lua"
8585
- run: xmake build -v -y -w --project=. "--file=./xmake.lua"
8686
- run: xmake clean -a
87-
- run: xmake f --toolchain=llvm --sdk=opt/homebrew/opt/llvm@16/ -y -v --project=. "--file=./xmake.lua" --mode=test
87+
- run: xmake f --toolchain=llvm --sdk=/opt/homebrew/opt/llvm@16/ -y -v --project=. "--file=./xmake.lua" --mode=test
8888
- run: xmake build -v -y -w --project=. "--file=./xmake.lua" --group=test
8989
- run: xmake run --group=test

0 commit comments

Comments
 (0)