Skip to content

Commit 6688fcc

Browse files
committed
Update github ci
1 parent 085a545 commit 6688fcc

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

.github/workflows/Build.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,13 @@ jobs:
4444
path: build/docker/
4545

4646
Linux:
47-
runs-on: ubuntu-latest
47+
runs-on: ubuntu-24.04
4848
steps:
4949
- uses: actions/checkout@v4
5050

5151
- name: Update OS and Compilers
5252
run: |
53-
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
54-
sudo apt install -y cmake gcc-12 g++-12 ninja-build
55-
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 10
56-
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 10
53+
sudo apt install -y cmake ninja-build
5754
5855
- name: Build proxy
5956
run: |
@@ -67,7 +64,7 @@ jobs:
6764
path: build/bin/proxy_server
6865

6966
Alpine:
70-
runs-on: ubuntu-latest
67+
runs-on: ubuntu-24.04
7168
container:
7269
image: alpine:3.20.1
7370
steps:
@@ -88,16 +85,13 @@ jobs:
8885
path: build/bin/proxy_server
8986

9087
MiMalloc:
91-
runs-on: ubuntu-latest
88+
runs-on: ubuntu-24.04
9289
steps:
9390
- uses: actions/checkout@v4
9491

9592
- name: Update OS and Compilers
9693
run: |
97-
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
98-
sudo apt install -y cmake gcc-12 g++-12 ninja-build
99-
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 10
100-
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 10
94+
sudo apt install -y cmake ninja-build
10195
10296
- name: Build mimalloc
10397
run: |
@@ -121,16 +115,13 @@ jobs:
121115
path: build/bin/proxy_server
122116

123117
SnMalloc:
124-
runs-on: ubuntu-latest
118+
runs-on: ubuntu-24.04
125119
steps:
126120
- uses: actions/checkout@v4
127121

128122
- name: Update OS and Compilers
129123
run: |
130-
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
131-
sudo apt install -y cmake gcc-12 g++-12 ninja-build
132-
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 10
133-
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 10
124+
sudo apt install -y cmake ninja-build
134125
135126
- name: Build proxy
136127
run: |

0 commit comments

Comments
 (0)