Skip to content
Permalink
Browse files

ci: use xcode11

quiet linking errors
  • Loading branch information
JaCzekanski committed Aug 17, 2019
1 parent 92cfe5c commit 998812fd4b9e8f9a7176dab1c916abd92c049b38
Showing with 10 additions and 6 deletions.
  1. +1 −1 .travis.yml
  2. +1 −1 .travis/macos/build.sh
  3. +8 −4 premake5.lua
@@ -23,7 +23,7 @@ matrix:
script: "./.travis/android/run-container.sh"
- name: macOS
os: osx
osx_image: xcode10.1
osx_image: xcode11
install: "./.travis/macos/install-dependencies.sh"
script: "./.travis/macos/build.sh"

@@ -15,7 +15,7 @@ ccache --set-config=sloppiness=pch_defines,time_macros
premake5 xcode4

# Build
xcodebuild -workspace Avocado.xcworkspace -scheme avocado -configuration release -quiet
xcodebuild -workspace Avocado.xcworkspace -scheme avocado -configuration release -parallelizeTargets -jobs 4 | xcpretty

# Package
mkdir -p $ARTIFACT
@@ -99,6 +99,13 @@ filter "action:gmake"
"-Wextra",
}

filter "action:vs*"
defines "_CRT_SECURE_NO_WARNINGS"

filter "action:xcode*"
buildoptions "-fvisibility=hidden"
linkoptions "-fvisibility=hidden"

filter "kind:*App"
targetdir "build/%{cfg.buildcfg}_%{cfg.platform}"

@@ -120,12 +127,9 @@ filter "configurations:Release"

filter {"configurations:Release"}
if os.getenv("CI") == true then
flags { "LinkTimeOptimization" }
flags { "LinkTimeOptimization" }
end

filter "action:vs*"
defines "_CRT_SECURE_NO_WARNINGS"

include "premake/chdr.lua"
include "premake/flac.lua"
include "premake/glad.lua"

0 comments on commit 998812f

Please sign in to comment.
You can’t perform that action at this time.