2018-06-05 15:30:19 +00:00
|
|
|
variables:
|
|
|
|
JEKYLL_ENV: production
|
2018-06-05 15:41:23 +00:00
|
|
|
GIT_SUBMODULE_STRATEGY: recursive
|
2018-06-05 15:30:19 +00:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
|
|
|
build_project:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- "( ./lib/bin/build_libsodium-macos )"
|
|
|
|
- "( cd ./platform-independent/cli-c && ./clean && targets='mpw mpw-bench mpw-tests' ./build && ./mpw-tests && ./mpw-cli-tests )"
|
|
|
|
- "( cd ./gradle && ./gradlew --info clean test )"
|
|
|
|
- "( xcodebuild -workspace platform-darwin/MasterPassword.xcworkspace -configuration 'Test' -scheme 'MasterPassword iOS' -sdk iphonesimulator | xcpretty -s )"
|
|
|
|
- "( xcodebuild -workspace platform-darwin/MasterPassword.xcworkspace -configuration 'Test' -scheme 'MasterPassword macOS' | xcpretty -s )"
|
|
|
|
tags:
|
|
|
|
- xcode-9
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
pages:
|
2018-06-05 15:33:18 +00:00
|
|
|
stage: build
|
2018-06-05 15:30:19 +00:00
|
|
|
script:
|
2018-06-05 15:37:31 +00:00
|
|
|
- exec jekyll build -d public
|
2018-06-05 15:30:19 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|
|
|
|
only:
|
|
|
|
- gh-pages
|