This repository was archived by the owner on Apr 4, 2022. It is now read-only.
forked from kean/Nuke
-
Notifications
You must be signed in to change notification settings - Fork 0
102 lines (99 loc) · 2.99 KB
/
ci.yml
File metadata and controls
102 lines (99 loc) · 2.99 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
name: "Nuke CI"
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
ios-latest:
name: Unit Tests (iOS 14.2, Xcode 12.4)
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: Run Tests
run: Scripts/test.sh -d "OS=14.4,name=iPhone 12 Pro"
macos-latest:
name: Unit Tests (macOS, Xcode 12.4)
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: Run Tests
run: Scripts/test.sh -d "arch=x86_64"
tvos-latest:
name: Unit Tests (tvOS 14.2, Xcode 12.4)
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: Run Tests
run: Scripts/test.sh -d "OS=14.3,name=Apple TV 4K"
watchos-latest:
name: Build (watchOS 7.1, Xcode 12.4)
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: Build
run: Scripts/build.sh -d "OS=7.1,name=Apple Watch Series 6 - 40mm"
ios-xcode-12_0_1:
name: Unit Tests (iOS 14.0, Xcode 12.0.1)
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_12.0.1.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: Run Tests
run: Scripts/test.sh -d "OS=14.0,name=iPhone 11"
ios-thread-safety:
name: Thread Safety Tests (TSan Enabled)
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: Run Tests
run: Scripts/test.sh -s "Nuke Thread Safety Tests" -d "OS=14.4,name=iPhone 12 Pro"
# ios-memory-management-tests:
# name: Memory Management Tests
# runs-on: macOS-latest
# env:
# DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
# steps:
# - uses: actions/checkout@v2
# - name: Run Tests
# run: Scripts/test.sh -s "Nuke Memory Management Tests" -d "OS=14.4,name=iPhone 12 Pro"
ios-performance-tests:
name: Performance Tests
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: Run Tests
run: Scripts/test.sh -s "Nuke Performance Tests" -d "OS=14.4,name=iPhone 12 Pro"
demo-project:
name: Build Demo Project
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: Build
run: Scripts/validate_demo.sh
swift-build:
name: Swift Build (SPM)
runs-on: macOS-latest
env:
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
steps:
- uses: actions/checkout@v2
- name: Build
run: swift build