2018-06-05 15:30:19 +00:00
|
|
|
variables:
|
2018-06-05 20:17:19 +00:00
|
|
|
GIT_DEPTH: 3
|
2018-06-05 15:41:23 +00:00
|
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
2018-06-05 15:30:19 +00:00
|
|
|
|
|
|
|
build_project:
|
|
|
|
stage: build
|
|
|
|
script:
|
2018-06-19 05:52:53 +00:00
|
|
|
- "( brew bundle )"
|
2018-07-01 00:53:29 +00:00
|
|
|
- "( ./lib/bin/build_libsodium-macos clean && ./lib/bin/build_libsodium-macos )"
|
|
|
|
- "( ./lib/bin/build_libjson-c-macos clean && ./lib/bin/build_libjson-c-macos )"
|
2018-06-06 00:09:13 +00:00
|
|
|
- "( cd ./platform-independent/c/cli && ./clean && targets=all ./build && ./mpw-tests && ./mpw-cli-tests )"
|
2018-10-13 21:14:20 +00:00
|
|
|
- "( export JAVA_HOME=$(java_home -Fv 10 || java_home -Fv 9* ) && cd ./gradle && ./gradlew --stacktrace clean test )"
|
2018-06-05 16:23:27 +00:00
|
|
|
- "( xcodebuild -workspace platform-darwin/MasterPassword.xcworkspace -configuration 'Test' -scheme 'MasterPassword iOS' -sdk iphonesimulator clean build )"
|
|
|
|
- "( xcodebuild -workspace platform-darwin/MasterPassword.xcworkspace -configuration 'Test' -scheme 'MasterPassword macOS' clean build )"
|
2018-06-05 15:30:19 +00:00
|
|
|
tags:
|
2018-06-05 16:54:09 +00:00
|
|
|
- brew
|
2018-07-29 04:19:05 +00:00
|
|
|
- java_9
|
2018-06-05 16:54:09 +00:00
|
|
|
- xcode_9
|