-
Notifications
You must be signed in to change notification settings - Fork 1
62 lines (55 loc) · 1.85 KB
/
Tests.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
# --------------------------------------------------------------------------------
# This workflow was automatically generated by Action Status 2.0.6 (478).
# (see https://actionstatus.elegantchaos.com for more details)
# --------------------------------------------------------------------------------
name: Tests
on: [push, pull_request]
jobs:
macOS-swift-53:
name: macOS (Swift 5.3)
runs-on: macos-11
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Make Logs Directory
run: mkdir logs
- name: Xcode Version
run: |
ls -d /Applications/Xcode*
sudo xcode-select -s /Applications/Xcode_12.4.app
xcodebuild -version
swift --version
- name: Swift Version
run: swift --version
- name: Test (Release)
run: swift test --configuration release -Xswiftc -enable-testing --enable-test-discovery
- name: Upload Logs
uses: actions/upload-artifact@v1
if: always()
with:
name: logs
path: logs
macOS-swift-56:
name: macOS (Swift 5.6)
runs-on: macos-11
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Make Logs Directory
run: mkdir logs
- name: Xcode Version
run: |
ls -d /Applications/Xcode*
sudo xcode-select -s /Applications/Xcode_13.2.1.app
xcodebuild -version
swift --version
- name: Swift Version
run: swift --version
- name: Test (Release)
run: swift test --configuration release -Xswiftc -enable-testing --enable-test-discovery
- name: Upload Logs
uses: actions/upload-artifact@v1
if: always()
with:
name: logs
path: logs