summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2019-02-24 21:34:37 +0100
committerMichael Lutz <michi@icosahedron.de>2019-02-24 22:18:10 +0100
commitfa2bea7394a1e29ef0ef037cd0d24db31dad4684 (patch)
treefffa0aed1f8808a4746d73902d9d7739baa6f956
parentd24a9dfe982f39b6b039084b888b479eddd97ec5 (diff)
downloadopenttd-fa2bea7394a1e29ef0ef037cd0d24db31dad4684.tar.xz
Change: [AzurePipelines] Use a minimum OSX version of 10.9 during building.
OpenTTD sources are still written in a way to work down to OSX 10.4 or so, as long as you can obtain a C++11 capable compiler. 10.9 is the minimal useful C++11 target using only Apple stuff out-of-the-box.
-rw-r--r--azure-pipelines-ci.yml3
-rw-r--r--azure-pipelines/templates/release.yml3
2 files changed, 6 insertions, 0 deletions
diff --git a/azure-pipelines-ci.yml b/azure-pipelines-ci.yml
index d624f8ce7..7bab1a936 100644
--- a/azure-pipelines-ci.yml
+++ b/azure-pipelines-ci.yml
@@ -55,6 +55,9 @@ jobs:
pool:
vmImage: 'macOS-10.13'
+ variables:
+ MACOSX_DEPLOYMENT_TARGET: 10.9
+
steps:
- template: azure-pipelines/templates/ci-git-rebase.yml
- template: azure-pipelines/templates/osx-dependencies.yml
diff --git a/azure-pipelines/templates/release.yml b/azure-pipelines/templates/release.yml
index 86f2be40e..7628d3c91 100644
--- a/azure-pipelines/templates/release.yml
+++ b/azure-pipelines/templates/release.yml
@@ -135,6 +135,9 @@ jobs:
vmImage: 'macOS-10.13'
dependsOn: source
+ variables:
+ MACOSX_DEPLOYMENT_TARGET: 10.9
+
steps:
- template: release-fetch-source.yml
- template: osx-dependencies.yml