mirror of
https://github.com/OpenTTD/OpenTTD
synced 2025-12-23 21:22:46 +01:00
Codefix 3e747397f0: Also upgrade preview workflow (#13438)
This commit is contained in:
7
.github/workflows/preview-build.yml
vendored
7
.github/workflows/preview-build.yml
vendored
@@ -35,6 +35,13 @@ jobs:
|
|||||||
git config --global --add safe.directory ${GITHUB_WORKSPACE}
|
git config --global --add safe.directory ${GITHUB_WORKSPACE}
|
||||||
git checkout -b pr${{ github.event.pull_request.number }}
|
git checkout -b pr${{ github.event.pull_request.number }}
|
||||||
|
|
||||||
|
- 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
|
- name: Setup cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user