Skip to content

Commit f31ed93

Browse files
committed
update linux ci
1 parent 4a28acc commit f31ed93

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,28 +34,24 @@ jobs:
3434
sudo apt-get install -y build-essential
3535
3636
- name: Install Xlings
37-
run: curl -fsSL https://d2learn.org/xlings-install.sh | bash
37+
run: |
38+
curl -fsSL https://raw.githubusercontent.com/d2learn/xlings/refs/heads/main/tools/other/quick_install.sh | bash
39+
echo "PATH=$HOME/.xlings/subos/current/bin:$PATH" >> "$GITHUB_ENV"
3840
3941
- name: Install GCC 15.1 with Xlings
4042
run: |
41-
export PATH=/home/xlings/.xlings_data/bin:$PATH
4243
xlings install gcc@15.1 -y
4344
4445
- name: Build
4546
run: |
46-
export PATH=/home/xlings/.xlings_data/bin:$PATH
4747
xmake f -m release -y -vv
4848
xmake -y -vv -j$(nproc)
4949
5050
- name: Test
51-
run: |
52-
export PATH=/home/xlings/.xlings_data/bin:$PATH
53-
xmake run templates_test
51+
run: xmake run templates_test
5452

5553
- name: Run examples
56-
run: |
57-
export PATH=/home/xlings/.xlings_data/bin:$PATH
58-
xmake run basic
54+
run: xmake run basic
5955

6056
build-macos:
6157
runs-on: macos-14

0 commit comments

Comments
 (0)