summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-06-21 18:46:27 +0200
committerPatric Stout <github@truebrain.nl>2021-06-26 20:28:34 +0200
commit98e653dacc98d308e440503c9cf9bba01933d1b4 (patch)
treee90907756d28cfc68d9200d094e790984ca0606a /.github/workflows
parentf35e6c1c7fdaefc9153a54c089dbaa6e2549e6b1 (diff)
downloadopenttd-98e653dacc98d308e440503c9cf9bba01933d1b4.tar.xz
Fix #9386: compilers failing to compile with LTO by using variants instead of new + unique_ptr
With std::variant all memory can be figured out at compile time, so the compiler needs to keep track of fewer elements. It also saves out a unique_ptr and its memory management, over a slight impact for resolving a setting.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci-build.yml2
-rw-r--r--.github/workflows/release.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index 8a7835c1e..3f05869e0 100644
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -157,7 +157,7 @@ jobs:
runs-on: macos-latest
env:
- MACOSX_DEPLOYMENT_TARGET: 10.9
+ MACOSX_DEPLOYMENT_TARGET: 10.14
steps:
- name: Checkout
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 447b165f9..90d1a9d5b 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -470,7 +470,7 @@ jobs:
runs-on: macos-10.15
env:
- MACOSX_DEPLOYMENT_TARGET: 10.9
+ MACOSX_DEPLOYMENT_TARGET: 10.14
steps:
- name: Download source