File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments