2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-02-10 17:43:03 +00:00

chore: update gcc to 14

This commit is contained in:
Jan Laupetin
2026-01-27 17:31:15 +01:00
parent e738d0f2be
commit 675e402b16
2 changed files with 11 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ jobs:
include: include:
- build_arch: x86 - build_arch: x86
gtk_packages: libgtk-4-dev:i386 libwebkitgtk-6.0-dev:i386 gtk_packages: libgtk-4-dev:i386 libwebkitgtk-6.0-dev:i386
additional_packages: gcc-13-multilib g++-13-multilib additional_packages: gcc-14-multilib g++-14-multilib
- build_arch: x64 - build_arch: x64
gtk_packages: libgtk-4-dev libwebkitgtk-6.0-dev gtk_packages: libgtk-4-dev libwebkitgtk-6.0-dev
name: Build-Test Linux ${{ matrix.build_arch }} name: Build-Test Linux ${{ matrix.build_arch }}
@@ -33,11 +33,11 @@ jobs:
- name: Install g++ and multilib - name: Install g++ and multilib
run: | run: |
apt-get update apt-get update
apt-get install -y wget tar git make curl gcc-13 g++-13 ${{ matrix.gtk_packages }} ${{ matrix.additional_packages }} apt-get install -y wget tar git make curl gcc-14 g++-14 ${{ matrix.gtk_packages }} ${{ matrix.additional_packages }}
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13 update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 14
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 13 update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 14
update-alternatives --set gcc /usr/bin/gcc-13 update-alternatives --set gcc /usr/bin/gcc-14
update-alternatives --set g++ /usr/bin/g++-13 update-alternatives --set g++ /usr/bin/g++-14
- name: Install node - name: Install node
uses: actions/setup-node@v6 uses: actions/setup-node@v6

View File

@@ -16,11 +16,11 @@ jobs:
- name: Install g++ and multilib - name: Install g++ and multilib
run: | run: |
apt-get update apt-get update
apt-get install -y wget tar git make gcc-13 g++-13 gcc-13-multilib g++-13-multilib apt-get install -y wget tar git make gcc-14 g++-14 gcc-14-multilib g++-14-multilib
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13 update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 14
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 13 update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 14
update-alternatives --set gcc /usr/bin/gcc-13 update-alternatives --set gcc /usr/bin/gcc-14
update-alternatives --set g++ /usr/bin/g++-13 update-alternatives --set g++ /usr/bin/g++-14
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v6 uses: actions/checkout@v6