2
0
MasterPassword/.gitlab-ci.yml

36 lines
937 B
YAML
Raw Normal View History

2018-06-05 15:30:19 +00:00
variables:
JEKYLL_ENV: production
GIT_SUBMODULE_STRATEGY: recursive
2018-06-05 15:30:19 +00:00
stages:
- build
2018-06-05 16:54:09 +00:00
- deploy
2018-06-05 15:30:19 +00:00
build_project:
stage: build
script:
2018-06-05 16:54:09 +00:00
- "( brew install libsodium json-c )"
2018-06-05 15:30:19 +00:00
- "( ./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 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
- java
- xcode_9
2018-06-05 15:30:19 +00:00
only:
- master
pages:
2018-06-05 16:54:09 +00:00
stage: deploy
2018-06-05 15:30:19 +00:00
script:
2018-06-05 16:54:09 +00:00
- exec jekyll build -d public
2018-06-05 15:30:19 +00:00
artifacts:
paths:
2018-06-05 16:54:09 +00:00
- public
tags:
- jekyll
2018-06-05 15:30:19 +00:00
only:
2018-06-05 16:54:09 +00:00
- gh-pages