-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (41 loc) · 1.22 KB
/
main.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
49
50
51
name: Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test-package:
name: Test AgniKit Package
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_16.0.app
- name: Build Package
run: swift build -v
test-app:
name: Test Agni iOS App
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_16.0.app
- name: Build iOS App
run: |
xcodebuild clean build \
-project Agni/Agni.xcodeproj \
-scheme Agni \
-destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=18.0" \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO
- name: Build macOS App
run: |
xcodebuild clean build \
-project Agni/Agni.xcodeproj \
-scheme Agni \
-destination "platform=macOS" \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO