Skip to content

Commit 8004858

Browse files
star-hengxingstd-microblock
authored andcommitted
build: remove linux ci
1 parent d0e9ed6 commit 8004858

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,25 @@ on:
99
- 'README.md'
1010

1111
jobs:
12-
windows:
12+
xmake:
1313
strategy:
1414
matrix:
15-
os: [windows-2022, ubuntu-24.04]
15+
os: [windows-2022]
1616
build_type: [debug, release]
1717

1818
runs-on: ${{ matrix.os }}
1919

2020
steps:
21+
- name: Setup libstdc++-14
22+
if: matrix.os == 'ubuntu-24.04'
23+
run: |
24+
sudo apt update
25+
sudo apt install -y gcc-14 g++-14 libstdc++-14-dev
26+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100
27+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 100
28+
sudo update-alternatives --set gcc /usr/bin/gcc-14
29+
sudo update-alternatives --set g++ /usr/bin/g++-14
30+
2131
- name: Checkout repository
2232
uses: actions/checkout@v4
2333

0 commit comments

Comments
 (0)