-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.cirrus.yml
33 lines (26 loc) · 1.12 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
task:
name: Mengine_Xcode_IOS_SDL
osx_instance:
image: mojave-xcode-10.1
env:
matrix:
BUILD_CONFIGURATION: Debug
BUILD_CONFIGURATION: Release
install_script: brew install cmake
build_script:
- cmake --version
- mkdir build_downloads_cmake
- pushd build_downloads_cmake
- cmake ../cmake/Downloads/ -DCMAKE_BUILD_TYPE=$BUILD_CONFIGURATION
- cmake --build .
- popd
- mkdir build_dependencies_cmake
- pushd build_dependencies_cmake
- cmake -G"Xcode" "$PWD/../cmake/Depends_Xcode_IOS_SDL" -DCMAKE_BUILD_TYPE=$BUILD_CONFIGURATION -DMENGINE_DEPENDENCE_CURL=OFF -DCMAKE_TOOLCHAIN_FILE="$PWD/../dependencies/ios-cmake/ios.toolchain.cmake" -DPLATFORM=OS64 -DENABLE_BITCODE=FALSE
- cmake --build .
- popd
- mkdir build_engine_cmake
- pushd build_engine_cmake
- cmake -G"Xcode" "$PWD/../cmake/Xcode_IOS_SDL" -DCMAKE_BUILD_TYPE=$BUILD_CONFIGURATION -DMENGINE_BUILD_ONLY_EXECUTABLE_MODULE=ON -DMENGINE_PLUGIN_CURL_FORCE_DISABLE=ON -DCMAKE_TOOLCHAIN_FILE="$PWD/../dependencies/ios-cmake/ios.toolchain.cmake" -DPLATFORM=OS64 -DENABLE_BITCODE=TRUE
- cmake --build .
- popd