-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
33 lines (31 loc) · 914 Bytes
/
build.yaml
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
name: build
on: [push, pull_request]
jobs:
run-test:
runs-on: macos-14
strategy:
matrix:
destination: [
'macOS',
'iOS Simulator,name=iPhone 15',
'tvOS Simulator,name=Apple TV',
'watchOS Simulator,name=Apple Watch Series 8 (41mm)'
]
swift-version: [5.0]
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run tests
env:
DESTINATION: platform=${{ matrix.destination }}
SWIFT_VERSION: ${{ matrix.swift-version }}
run: bundle exec fastlane test_ci
- name: Archiving DerivedData Logs
uses: actions/upload-artifact@v2
if: failure()
with:
name: derived-data-${{ matrix.destination }}
path: |
/Users/runner/Library/Developer/Xcode/DerivedData/**/Logs/**