2
0
MasterPassword/.gitlab-ci.yml

19 lines
880 B
YAML
Raw Permalink Normal View History

2018-06-05 15:30:19 +00:00
variables:
2018-06-05 20:17:19 +00:00
GIT_DEPTH: 3
GIT_SUBMODULE_STRATEGY: recursive
2018-06-05 15:30:19 +00:00
build_project:
stage: build
script:
- "( 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 )"
- "( cd ./platform-independent/c/cli && ./clean && targets=all ./build && ./mpw-tests && ./mpw-cli-tests )"
- "( export JAVA_HOME=$(java_home -Fv 10 || java_home -Fv 9* ) && cd ./gradle && ./gradlew --stacktrace clean test )"
- "( 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