-
Notifications
You must be signed in to change notification settings - Fork 0
78 lines (69 loc) · 2.61 KB
/
layout.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
name: WW-Layout
on:
workflow_dispatch:
jobs:
unit-test-4:
runs-on: macos-11
strategy:
matrix:
xcode-version: [13.2, 12.5.1]
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode-version }}.app
steps:
# - name: checkout
# uses: actions/checkout@v2
# with:
# repository: "ww-tech/wwlayout"
# ref: develop
# ssh-key: ${{ secrets.ssh_ww }}
# - name: Install dependencies in Gemfile
# run: gem install fastlane
# - name: Unit Tests, using Swift 4.0
# run: |
# bundle exec fastlane scan \
# --device "iPhone SE" \
# --xcargs "SWIFT_VERSION=4.0" \
# --code_coverage \
# --output_directory output/scan
# - name: Unit Tests, using Swift 5.0
# run: |
# bundle exec fastlane scan \
# --device "iPhone X" \
# --xcargs "SWIFT_VERSION=5.0" \
# --code_coverage \
# --output_directory output/scan
# - name: Unit Tests, using Swift 5.1
# run: |
# bundle exec fastlane scan \
# --device ["iPhone 6", "iPhone 11"] \
# --xcargs "SWIFT_VERSION=5.1" \
# --code_coverage \
# --output_directory output/scan
# - name: Unit Tests, using Swift 5.2
# run: |
# bundle exec fastlane scan \
# --device ["iPhone 7", "iPhone XS"] \
# --xcargs "SWIFT_VERSION=5.2" \
# --code_coverage \
# --output_directory output/scan
# - name: Unit Tests, using Swift 5.3
# run: |
# bundle exec fastlane scan \
# --device ["iPhone 8", "iPhone SE"] \
# --xcargs "SWIFT_VERSION=5.3" \
# --code_coverage \
# --output_directory output/scan
# - name: Build example (test spm)
# run: |
# xcodebuild build \
# -project "WWLayoutExample/WWLayoutTV/WWLayoutTV.xcodeproj" \
# -scheme "WWLayoutTV" \
# -destination "platform=tvOS Simulator,name=Apple TV"
# test-self-hosted:
# runs-on: macos
# env:
# DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer
# steps:
# - name: Another version
# run: |
# xcodebuild -version