Skip to content

Commit 7b500ba

Browse files
committed
version 1 completed
1 parent de09c34 commit 7b500ba

File tree

1 file changed

+35
-7
lines changed

1 file changed

+35
-7
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,47 @@
11
# .github/workflows/ci.yml
22
name: CI
3-
43
on: [push, pull_request]
54

65
jobs:
6+
ios-build:
7+
continue-on-error: true
8+
runs-on: macos-15
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: maxim-lobanov/setup-xcode@v1
12+
with: { xcode-version: "16.x" }
13+
- run: |
14+
set -o pipefail
15+
xcodebuild \
16+
-project SleepTrigger.xcodeproj \
17+
-scheme "SleepTrigger" \
18+
-destination "generic/platform=iOS Simulator" \
19+
CODE_SIGNING_ALLOWED=NO \
20+
clean build
21+
22+
macos-build:
23+
continue-on-error: true
24+
runs-on: macos-15
25+
steps:
26+
- uses: actions/checkout@v4
27+
- uses: maxim-lobanov/setup-xcode@v1
28+
with: { xcode-version: "16.x" }
29+
- run: |
30+
set -o pipefail
31+
xcodebuild \
32+
-project SleepTrigger.xcodeproj \
33+
-scheme "SleepTriggerMac" \
34+
-destination "platform=macOS" \
35+
CODE_SIGNING_ALLOWED=NO \
36+
clean build
37+
738
watchos-build:
839
runs-on: macos-15
940
steps:
1041
- uses: actions/checkout@v4
11-
- name: Select Xcode 16.x
12-
uses: maxim-lobanov/setup-xcode@v1
13-
with:
14-
xcode-version: "16.x"
15-
- name: Build watchOS app (no tests)
16-
run: |
42+
- uses: maxim-lobanov/setup-xcode@v1
43+
with: { xcode-version: "16.x" }
44+
- run: |
1745
set -o pipefail
1846
xcodebuild \
1947
-project SleepTrigger.xcodeproj \

0 commit comments

Comments
 (0)