Skip to content
Snippets Groups Projects
.gitlab-ci.yml 551 B
Newer Older
Bruno Muniz's avatar
Bruno Muniz committed
stages:
- test

before_script:
Bruno Muniz's avatar
Bruno Muniz committed
 - echo $CI_BUILD_REF
 - echo $CI_PROJECT_DIR
 - echo $PWD
 - swift --version
 - xcodebuild -version
 - eval $(ssh-agent -s)
 - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
 - mkdir -p ~/.ssh
 - chmod 700 ~/.ssh
 - ssh-keyscan -t rsa $GITLAB_SERVER > ~/.ssh/known_hosts

unit-testing:
Bruno Muniz's avatar
Bruno Muniz committed
 tags:
  - ios
  - set -o pipefail && xcodebuild -workspace 'client-ios.xcworkspace' -scheme 'Mock' -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=16.0,name=iPhone 14' test
Bruno Muniz's avatar
Bruno Muniz committed
 retry: 1