-
-
Notifications
You must be signed in to change notification settings - Fork 120
89 lines (75 loc) · 2.4 KB
/
Copy pathci.yml
File metadata and controls
89 lines (75 loc) · 2.4 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: CI
on:
push:
branches:
- develop
tags:
- '*'
workflow_dispatch:
workflow_run:
workflows: ["Build and Release"]
types:
- completed
jobs:
build:
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
permissions:
contents: write
runs-on: macos-26
steps:
- uses: actions/checkout@v4
- name: Show Xcode version
run: xcodebuild -version
- name: Show available SDKs
run: xcodebuild -showsdks
- name: Build macOS
run: |
xcodebuild -resolvePackageDependencies \
-project Demo/Demo-macOS/Demo-macOS.xcodeproj \
-scheme Demo-macOS
xcodebuild -project Demo/Demo-macOS/Demo-macOS.xcodeproj \
-scheme Demo-macOS \
-configuration Release \
CODE_SIGN_IDENTITY="-" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO \
build
- name: Build iOS
run: |
xcodebuild -resolvePackageDependencies \
-project Demo/Demo-iOS/Demo-iOS.xcodeproj \
-scheme Demo-iOS
xcodebuild -project Demo/Demo-iOS/Demo-iOS.xcodeproj \
-scheme Demo-iOS \
-configuration Release \
CODE_SIGN_IDENTITY="-" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO \
build
- name: Build tvOS
run: |
xcodebuild -resolvePackageDependencies \
-project Demo/Demo-tvOS/Demo-tvOS.xcodeproj \
-scheme Demo-tvOS
xcodebuild -project Demo/Demo-tvOS/Demo-tvOS.xcodeproj \
-scheme Demo-tvOS \
-configuration Release \
CODE_SIGN_IDENTITY="-" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO \
build
- name: Build visionOS
run: |
xcodebuild -resolvePackageDependencies \
-project Demo/Demo-visionOS/Demo-visionOS.xcodeproj \
-scheme Demo-visionOS
xcodebuild -project Demo/Demo-visionOS/Demo-visionOS.xcodeproj \
-scheme Demo-visionOS \
-configuration Release \
CODE_SIGN_IDENTITY="-" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO \
build
- name: Build Succeeded
run: |
echo "Build completed successfully."