Skip to content

Commit fe0e316

Browse files
committed
update dependency: gcc 13
1 parent 2d11fd0 commit fe0e316

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/ci_install_dependencies.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,10 @@ echo "Installing PyGObject dependencies via apt..."
2323
sudo apt install -y libglib2.0-dev libcairo2-dev libgirepository1.0-dev \
2424
gir1.2-gtk-3.0 python3-gi-cairo
2525

26+
# Install and switch to GCC 13
27+
sudo apt-get install -y --no-install-recommends gcc-13 g++-13 lcov
28+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100
29+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 100
30+
sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-13 100
31+
2632
echo "All dependencies installed successfully via apt."

0 commit comments

Comments
 (0)