Skip to content

Commit ca21541

Browse files
committed
Use GCC14 for benchmark CI
1 parent 369f686 commit ca21541

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,21 @@ jobs:
2424
2525
timeout 30 bash -c 'until curl -f http://localhost:9000/minio/health/live 2>/dev/null; do sleep 1; done'
2626
27-
- name: Install dependencies
27+
- name: Install GCC 14
28+
run: |
29+
sudo apt-get update
30+
sudo apt-get install -y software-properties-common
31+
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
32+
sudo apt-get update
33+
sudo apt-get install -y gcc-14 g++-14 cmake libcurl4-openssl-dev pkg-config
34+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100
35+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 100
36+
37+
- name: Install brew dependencies
2838
run: |
2939
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
3040
echo "$(brew --prefix)/bin" >> $GITHUB_PATH
3141
brew install aws-sdk-cpp google-benchmark go rust
32-
sudo apt-get update
33-
sudo apt-get install -y cmake libcurl4-openssl-dev pkg-config
3442
3543
- name: Build s3cpp
3644
run: |

0 commit comments

Comments
 (0)