2
0

Tweak GitLab CI requisites.

This commit is contained in:
Maarten Billemont 2018-06-05 12:54:09 -04:00
parent 788d85178d
commit 4579095afc

View File

@ -4,26 +4,32 @@ variables:
stages: stages:
- build - build
- deploy
build_project: build_project:
stage: build stage: build
script: script:
- "( brew install libsodium json-c )"
- "( ./lib/bin/build_libsodium-macos )" - "( ./lib/bin/build_libsodium-macos )"
- "( cd ./platform-independent/cli-c && ./clean && targets='mpw mpw-bench mpw-tests' ./build && ./mpw-tests && ./mpw-cli-tests )" - "( cd ./platform-independent/cli-c && ./clean && targets='mpw mpw-bench mpw-tests' ./build && ./mpw-tests && ./mpw-cli-tests )"
- "( cd ./gradle && ./gradlew --info clean test )" - "( 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 iOS' -sdk iphonesimulator clean build )"
- "( xcodebuild -workspace platform-darwin/MasterPassword.xcworkspace -configuration 'Test' -scheme 'MasterPassword macOS' clean build )" - "( xcodebuild -workspace platform-darwin/MasterPassword.xcworkspace -configuration 'Test' -scheme 'MasterPassword macOS' clean build )"
tags: tags:
- xcode-9 - brew
- java
- xcode_9
only: only:
- master - master
pages: pages:
stage: build stage: deploy
script: script:
- exec jekyll build -d public - exec jekyll build -d public
artifacts: artifacts:
paths: paths:
- public - public
tags:
- jekyll
only: only:
- gh-pages - gh-pages