File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ matrix:
18
18
osx_image : xcode9.3
19
19
sudo : required
20
20
# iOS_cmake
21
- # - os: osx
22
- # env: BUILD_TARGET=ios_cmake
23
- # language: cpp
24
- # osx_image: xcode9.3
25
- # sudo: required
21
+ - os : osx
22
+ env : BUILD_TARGET=ios_cmake
23
+ language : cpp
24
+ osx_image : xcode11
25
+ sudo : required
26
26
# android cmake
27
27
- os : linux
28
28
env : BUILD_TARGET=android_cmake
Original file line number Diff line number Diff line change @@ -50,6 +50,13 @@ function install_latest_python()
50
50
python -V
51
51
}
52
52
53
+ function install_cmake_osx()
54
+ {
55
+ cmake --version
56
+ brew upgrade cmake
57
+ cmake --version
58
+ }
59
+
53
60
# set up environment according os and target
54
61
function install_environement_for_pull_request()
55
62
{
@@ -67,6 +74,7 @@ function install_environement_for_pull_request()
67
74
if [ " $TRAVIS_OS_NAME " == " osx" ]; then
68
75
install_latest_python
69
76
install_python_module_for_osx
77
+ install_cmake_osx
70
78
fi
71
79
72
80
# use NDK's clang to generate binding codes
@@ -80,6 +88,7 @@ function install_environement_for_after_merge()
80
88
if [ " $TRAVIS_OS_NAME " == " osx" ]; then
81
89
install_latest_python
82
90
install_python_module_for_osx
91
+ install_cmake_osx
83
92
fi
84
93
85
94
echo " Building merge commit ..."
You can’t perform that action at this time.
0 commit comments