Skip to content

Commit dee1a1e

Browse files
committed
Update Makefile and GitHub Actions
1 parent 7561eba commit dee1a1e

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
xcode-version: "15.4.0"
2323
- name: Run iOS tests
24-
run: make test-ios PLATFORM="iOS Simulator,name=iPhone 15"
24+
run: make test-ios-17
2525
- name: Run tvOS tests
2626
run: make test-tvos
2727

@@ -36,6 +36,6 @@ jobs:
3636
with:
3737
xcode-version: "16.1.0"
3838
- name: Run iOS tests
39-
run: make test-ios PLATFORM="iOS Simulator,name=iPhone 16"
39+
run: make test-ios-18
4040
- name: Run tvOS tests
4141
run: make test-tvos

Makefile

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
1-
PLATFORM ?= "iOS Simulator,name=iPhone 16"
1+
test-ios-18:
2+
set -o pipefail && \
3+
xcodebuild test \
4+
-project Gifu.xcodeproj \
5+
-scheme Gifu \
6+
-destination "platform=iOS Simulator,name=iPhone 16,OS=18.1" \
7+
| xcbeautify
28

3-
test-ios:
9+
test-ios-17:
410
set -o pipefail && \
511
xcodebuild test \
612
-project Gifu.xcodeproj \
713
-scheme Gifu \
8-
-destination platform=$(PLATFORM) \
14+
-destination "platform=iOS Simulator,name=iPhone 15,OS=17.5" \
915
| xcbeautify
1016

1117
test-tvos:
1218
set -o pipefail && \
1319
xcodebuild test \
1420
-project Gifu.xcodeproj \
1521
-scheme Gifu \
16-
-destination platform="tvOS Simulator,name=Apple TV" \
22+
-destination "platform=tvOS Simulator,name=Apple TV" \
1723
| xcbeautify

0 commit comments

Comments
 (0)