Skip to content

Commit 474ca44

Browse files
committed
ci: use newer gcc-14 in ubuntu
1 parent 8ba3907 commit 474ca44

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,24 +126,27 @@ jobs:
126126
wget https://apt.llvm.org/llvm.sh
127127
chmod +x llvm.sh
128128
sudo ./llvm.sh 19
129-
sudo apt-get install libc++-19* libc++abi*19* -y
129+
sudo apt-get install libc++-19* libc++abi*19* libstdc++-13-dev -y
130130
echo "CC=clang-19" >> "$GITHUB_ENV"
131131
echo "CXX=clang++-19" >> "$GITHUB_ENV"
132132
echo "OBJC=clang-19" >> "$GITHUB_ENV"
133133
134-
135134
- name: Setup GCC (Linux)
136135
if: matrix.config.os == 'ubuntu' && matrix.config.use-clang == false
137-
uses: egor-tensin/setup-gcc@v1
138-
with:
139-
version: 14
140-
platform: x64
136+
run: |
137+
echo "deb http://archive.ubuntu.com/ubuntu/ oracular main" | sudo tee -a /etc/apt/sources.list.d/new_ubuntu.list
138+
sudo apt-get update
139+
sudo apt-get install gcc-14 g++-14 -y
140+
echo "CC=gcc-14" >> "$GITHUB_ENV"
141+
echo "CXX=g++-14" >> "$GITHUB_ENV"
142+
sudo rm -rf /etc/apt/sources.list.d/new_ubuntu.list
143+
sudo apt-get update
141144
142145
- name: Setup Clang (MacOS)
143146
if: matrix.config.os == 'macos'
144147
run: |
145148
brew update
146-
# TODO annotat5e with lld@19, after that is accepted, we don't want to use lld@20 without manually updating it !
149+
# TODO annotate with lld@19, after that is accepted, we don't want to use lld@20 without manually updating it !
147150
brew install llvm@19 lld
148151
echo "$(brew --prefix)/opt/llvm/bin" >> $GITHUB_PATH
149152
echo "LDFLAGS=-L$(brew --prefix)/opt/llvm/lib -L$(brew --prefix)/opt/llvm/lib/c++ -Wl,-rpath,$(brew --prefix)/opt/llvm/lib/c++" >> "$GITHUB_ENV"

0 commit comments

Comments
 (0)