-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 747 Bytes
/
Copy pathci.yml
File metadata and controls
34 lines (28 loc) · 747 Bytes
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
name: CI
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
build-and-test:
name: Build and Test
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Show environment
run: |
xcodebuild -version
xcrun simctl list devices available | grep iPhone
- name: Locate project
run: find . -name "*.xcodeproj"
- name: Build and Test
working-directory: Stream-iOS
run: |
set -o pipefail
xcodebuild test \
-scheme Stream-iOS \
-destination 'platform=iOS Simulator,name=iPhone 17' \
-enableCodeCoverage YES \
CODE_SIGNING_ALLOWED=NO