-
Notifications
You must be signed in to change notification settings - Fork 159
36 lines (26 loc) · 947 Bytes
/
ci.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
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
Package:
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Setting up Xcode
run: sudo xcode-select -s "/Applications/Xcode_14.3.app"
- name: Run tests
run: set -o pipefail && xcrun xcodebuild build test -scheme QuranEngine-Package -sdk "iphonesimulator" -destination "name=iPhone 14 Pro,OS=16.4" | xcpretty
- uses: codecov/codecov-action@v3
with:
swift: true
ExampleApp:
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Setting up Xcode
run: sudo xcode-select -s "/Applications/Xcode_14.3.app"
- name: Build
run: set -o pipefail && xcrun xcodebuild build -workspace Example/QuranEngineApp.xcworkspace -scheme QuranEngineApp -sdk "iphonesimulator" -destination 'generic/platform=iOS' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty