-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (36 loc) · 991 Bytes
/
main.yml
File metadata and controls
44 lines (36 loc) · 991 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
35
36
37
38
39
40
41
42
43
44
name: PushLearn CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-26
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.13.0
with:
access_token: ${{ github.token }}
- name: Clone repo
uses: actions/checkout@v4
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '26.3'
- name: Check IOS Devices
run: xcrun simctl list devices
- name: Build
run: |
xcodebuild \
-project PushLearn.xcodeproj \
-scheme PushLearn \
-destination 'id=AE1B743D-A3CC-4A1E-BFC9-ED56C5BE12F5' \
build
- name: Test
run: |
xcodebuild \
-project PushLearn.xcodeproj \
-scheme PushLearnTests \
-destination 'id=AE1B743D-A3CC-4A1E-BFC9-ED56C5BE12F5' \
test