diff options
author | Patric Stout <truebrain@openttd.org> | 2021-08-15 13:08:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-15 13:08:58 +0200 |
commit | b67ef1e5b85cda0af8be0c7d99b8b00b5ec05ebb (patch) | |
tree | b4e42c43ca9f0b919cc7611038db9d0c33fb4844 /.github/workflows | |
parent | cb9a2dec0d847a9130a7a3ee9a8418035f37483e (diff) | |
download | openttd-b67ef1e5b85cda0af8be0c7d99b8b00b5ec05ebb.tar.xz |
Fix: [Actions] Ubuntu 18.04 by default has a compiler too old for OpenTTD (#9481)
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/release.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 90d1a9d5b..fd6a8d8fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -373,14 +373,19 @@ jobs: include: - container_image: "ubuntu:18.04" bundle_name: "bionic" + compiler: "g++-8" - container_image: "ubuntu:20.04" bundle_name: "focal" + compiler: "g++" - container_image: "ubuntu:20.10" bundle_name: "groovy" + compiler: "g++" - container_image: "debian:buster" bundle_name: "buster" + compiler: "g++" - container_image: "debian:bullseye" bundle_name: "bullseye" + compiler: "g++" runs-on: ubuntu-20.04 container: @@ -406,7 +411,7 @@ jobs: apt-get install -y --no-install-recommends \ cmake \ debhelper \ - g++ \ + ${{ matrix.compiler }} \ git \ make \ openssl \ @@ -432,7 +437,7 @@ jobs: cd build echo "::group::CMake" - cmake ${GITHUB_WORKSPACE} \ + CXX=${{ matrix.compiler }} cmake ${GITHUB_WORKSPACE} \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ # EOF |