Skip to content

Commit 84e8dad

Browse files
fix: Trying to fix ci failure
1 parent 99ed668 commit 84e8dad

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,22 +62,21 @@ jobs:
6262
- name: Checkout
6363
uses: actions/checkout@v4
6464

65-
- name: Install Xlings
66-
env:
67-
XLINGS_NON_INTERACTIVE: 1
68-
run: |
69-
curl -fsSL https://raw.githubusercontent.com/d2learn/xlings/refs/heads/main/tools/other/quick_install.sh | bash -s -- $XLINGS_VERSION
70-
echo "PATH=$HOME/.xlings/subos/current/bin:$PATH" >> "$GITHUB_ENV"
65+
- name: Setup xmake
66+
uses: xmake-io/github-action-setup-xmake@v1
67+
with:
68+
xmake-version: latest
69+
package-cache: true
7170

72-
- name: Install Project Dependencies via Xlings
71+
- name: Verify toolchain
7372
run: |
74-
xlings install
73+
xmake --version
7574
clang --version
7675
7776
- name: Build with xmake
7877
run: |
7978
xmake f -m release --toolchain=llvm -vv -y
80-
xmake -j$(nproc)
79+
xmake -j$(sysctl -n hw.ncpu)
8180
8281
build-windows:
8382
runs-on: windows-latest

0 commit comments

Comments
 (0)