Skip to content

Commit

Permalink
ci: install gcc-14 for ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
microcai committed Oct 16, 2024
1 parent 3be1c3a commit eab48ad
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,14 @@ jobs:
with:
version: 6.6.*

- name: Install libuv and libcurl and libevent
- name: Install libuv and libcurl and libevent and gcc-14
if: startsWith(runner.os, 'Linux')
# 傻逼 ubuntu,好好的 libuv 非要改名 libuv1,脑子得有多秀逗啊
run: sudo apt-get install -y libuv1-dev libcurl4-openssl-dev libevent-dev
run: |
sudo add-apt-repository universe
sudo apt update -qq
sudo apt install -y gcc-14 g++-14 libpcre3 liblapack-dev libuv1-dev libcurl4-openssl-dev libevent-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 60 --slave /usr/bin/g++ g++ /usr/bin/g++-14
- name: cache boost build
id: cache-boost-build
Expand Down

0 comments on commit eab48ad

Please sign in to comment.