1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-15 08:22:34 +01:00

Codechange: use GCC 12 for building tools for Emscripten

This commit is contained in:
Rubidium
2025-02-01 15:36:03 +01:00
committed by rubidium42
parent ac6f3542a8
commit 3e747397f0
2 changed files with 14 additions and 0 deletions

View File

@@ -23,6 +23,13 @@ jobs:
run: |
git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: Update to modern GCC
run: |
apt-get update
apt-get install -y gcc-12 g++-12
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100
- name: Setup cache
uses: actions/cache@v4
with: