Skip to content

Commit 68b5635

Browse files
committed
fix(ci): use global xlings install
1 parent 08d75e4 commit 68b5635

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ jobs:
2121
echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH"
2222
2323
- name: Install dependencies
24-
run: xlings install
25-
26-
- name: Configure xmake
27-
run: xmake f --toolchain=gcc --sdk="$HOME/.xlings/subos/default" -y -vvD
24+
run: xlings install -g
2825

2926
- name: Build
3027
run: xmake build -a -y -vvD
@@ -53,7 +50,7 @@ jobs:
5350
echo "$HOME/.xlings/subos/current/bin" >> "$GITHUB_PATH"
5451
5552
- name: Install dependencies
56-
run: xlings install
53+
run: xlings install -g
5754

5855
- name: Configure xmake
5956
run: xmake f --toolchain=llvm --sdk="$HOME/.xlings/data/xpkgs/xim-x-llvm/20.0.7" -y -vvD
@@ -86,7 +83,7 @@ jobs:
8683
echo "$env:USERPROFILE\.xlings\subos\current\bin" >> $env:GITHUB_PATH
8784
8885
- name: Install dependencies
89-
run: xlings install
86+
run: xlings install -g
9087

9188
- name: Build
9289
run: xmake build -a -y -vvD

0 commit comments

Comments
 (0)