summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorder richter <der.richter@gmx.de>2020-11-18 23:31:59 +0100
committerJan Ekström <jeebjp@gmail.com>2020-11-22 13:44:16 +0200
commit5ae6f04d6bb3647419b02e0e0f4d8198b9e44bb2 (patch)
treed0a5fbc5d5fb17ebd7125b720c6292a1be7d9675 /.travis.yml
parent959097c880d9dcf83cb2edbdf8a2403ae997f713 (diff)
downloadmpv-5ae6f04d6bb3647419b02e0e0f4d8198b9e44bb2.tar.bz2
mpv-5ae6f04d6bb3647419b02e0e0f4d8198b9e44bb2.tar.xz
build: fix macOS arm builds
remove the hardcoded swift target version and move the version restriction to configure. this was a bad idea anyway and could lead to mismatched object files between obj-c and swift. fix travis 10.12 legacy build. also update the SDK version parser to handle the new macOS 11 scheme. Fixes #8281
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index b2700a9b12..dcffe94346 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -39,6 +39,10 @@ matrix:
osx_image: xcode10.1
- <<: *mac
osx_image: xcode9.2
+ env:
+ - HOMEBREW_NO_AUTO_UPDATE=1
+ - HOMEBREW_NO_INSTALL_CLEANUP=1
+ - CI_SWIFT_FLAGS="\-target x86_64-apple-macosx10.12"
- os: freebsd
compiler: clang
- os: linux