-
Notifications
You must be signed in to change notification settings - Fork 160
48 lines (34 loc) · 1.18 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
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_15.1.app"
- name: Run tests
run: set -o pipefail && xcrun xcodebuild build test -scheme QuranEngine-Package -sdk "iphonesimulator" -destination "name=iPhone 14 Pro,OS=17.2" | xcpretty
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
ExampleApp:
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Setting up Xcode
run: sudo xcode-select -s "/Applications/Xcode_15.1.app"
- name: Build
run: set -o pipefail && xcrun xcodebuild build -project Example/QuranEngineApp.xcodeproj -scheme QuranEngineApp -sdk "iphonesimulator" -destination 'generic/platform=iOS' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
SwiftFormat:
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Setting up Xcode
run: sudo xcode-select -s "/Applications/Xcode_15.1.app"
- name: SwiftFormat
run: make format-lint