Skip to content

Commit 0b6b972

Browse files
committed
update linux ci
1 parent 4a28acc commit 0b6b972

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,28 +34,26 @@ 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+
env:
38+
XLINGS_NON_INTERACTIVE: 1
39+
run: |
40+
curl -fsSL https://raw.githubusercontent.com/d2learn/xlings/refs/heads/main/tools/other/quick_install.sh | bash
41+
echo "PATH=$HOME/.xlings/subos/current/bin:$PATH" >> "$GITHUB_ENV"
3842
3943
- name: Install GCC 15.1 with Xlings
4044
run: |
41-
export PATH=/home/xlings/.xlings_data/bin:$PATH
4245
xlings install gcc@15.1 -y
4346
4447
- name: Build
4548
run: |
46-
export PATH=/home/xlings/.xlings_data/bin:$PATH
4749
xmake f -m release -y -vv
4850
xmake -y -vv -j$(nproc)
4951
5052
- name: Test
51-
run: |
52-
export PATH=/home/xlings/.xlings_data/bin:$PATH
53-
xmake run templates_test
53+
run: xmake run templates_test
5454

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

6058
build-macos:
6159
runs-on: macos-14

0 commit comments

Comments
 (0)