-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathbitrise.yml
77 lines (73 loc) · 2 KB
/
bitrise.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
format_version: 1.3.1
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
- BITRISE_PROJECT_PATH: Multiplatform.sln
workflows:
ios-uitest:
envs:
- BITRISE_XAMARIN_CONFIGURATION: Debug
- BITRISE_XAMARIN_PLATFORM: iPhoneSimulator
- TEST_TO_RUN: Multiplatform.UItest.Tests(iOS)
steps:
- git-clone:
- certificate-and-profile-installer:
- nuget-restore:
- xamarin-ios-test:
inputs:
- test_to_run: $TEST_TO_RUN
android-uitest:
envs:
- BITRISE_XAMARIN_CONFIGURATION: Release
- BITRISE_XAMARIN_PLATFORM: Any CPU
- TEST_TO_RUN: Multiplatform.UItest.Tests(Android)
- BITRISE_EMULATOR_NAME: Nexus_4_API_23
steps:
- create-android-emulator:
run_if: .IsCI
inputs:
- name: "Emulator"
- start-android-emulator:
inputs:
- emulator_options: -no-boot-anim
- skin: "768x1280"
- wait_for_boot: "false"
- git-clone:
- certificate-and-profile-installer:
- nuget-restore:
- wait-for-android-emulator:
- xamarin-android-test:
inputs:
- test_to_run: $TEST_TO_RUN
- script:
title: "Kill running emulators"
is_always_run: true
inputs:
- content:
#!/bin/bash
set -ex
adb devices | grep emulator | cut -f1 | while read line; do adb -s $line emu kill; done
calabash:
envs:
- BITRISE_XAMARIN_CONFIGURATION: calabash
- BITRISE_XAMARIN_PLATFORM: Any CPU
- BITRISE_EMULATOR_NAME: Emulator
steps:
- git-clone:
- certificate-and-profile-installer:
- nuget-restore:
- xamarin-archive:
inputs:
- project_type_whitelist: android,ios
- calabash-ios-uitest:
inputs:
- work_dir: iOS
- create-android-emulator:
run_if: .IsCI
inputs:
- name: $BITRISE_EMULATOR_NAME
- start-android-emulator:
- calabash-android-uitest:
inputs:
- work_dir: Droid
- deploy-to-bitrise-io: