-
Notifications
You must be signed in to change notification settings - Fork 6
86 lines (73 loc) · 1.93 KB
/
test.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
78
79
80
81
82
83
84
85
86
name: Validate 'setup-xamarin'
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
schedule:
- cron: 0 0 * * *
jobs:
xamarin-partial-versions:
name: xamarin - valid versions
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: setup-xamarin
uses: ./
with:
mono-version: '6.6'
xamarin-ios-version: '14.0'
xamarin-mac-version: '6.6'
xamarin-android-version: '10.1'
- name: Validate versions
run: pwsh ./__tests__/validate-xamarin-versions.ps1 "6.6" "14.0" "6.6" "10.1"
xamarin-latest-keyword:
name: xamarin - latest keyword
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: setup-xamarin
uses: ./
with:
mono-version: latest
xamarin-ios-version: latest
xamarin-mac-version: latest
xamarin-android-version: latest
xamarin-full-versions:
name: xamarin - valid full versions (should warn)
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: setup-xamarin
uses: ./
with:
xamarin-ios-version: 13.10.0.21
xamarin-mac-version: 6.6.0.12
- name: Validate versions
run: pwsh ./__tests__/validate-xamarin-versions.ps1 -XamarinIOSVersion "13.10.0.21" -XamarinMacVersion "6.6.0.12"
xcode-full-version:
name: xcode - valid version
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: setup-xamarin
uses: ./
with:
xcode-version: 12.3
- name: Validate versions
run: pwsh ./__tests__/validate-xcode-version.ps1 -XcodeVersion "12.3"
xcode-wildcard-version:
name: xcode - wildcard version
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: setup-xamarin
uses: ./
with:
xcode-version: 11.x