Skip to content

Commit ccd1d2e

Browse files
committed
ci
1 parent de8f6f0 commit ccd1d2e

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

.github/workflows/ci.yml

+17-3
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,28 @@ jobs:
135135
iosVersion: '18.1'
136136
deviceModel: iPhone 16
137137
developerDir: CI_XCODE_16
138-
- name: macOS 14
138+
- name: Core Module, macOS 14
139139
script: test:macos
140140
macosVersion: 14
141141
developerDir: CI_XCODE_16
142-
- name: macOS 15
142+
- name: LiveQuery Module, macOS 14
143+
script: test:parse_live_query:osx
144+
macosVersion: 14
145+
developerDir: CI_XCODE_16
146+
- name: Core Module, macOS 15
143147
script: test:macos
144148
macosVersion: 15
145149
developerDir: CI_XCODE_16
150+
- name: LiveQuery Module, macOS 15
151+
script: test:parse_live_query:osx
152+
macosVersion: 15
153+
developerDir: CI_XCODE_16
154+
- name: LiveQuery Module, watchOS
155+
script: test:parse_live_query:osx
156+
macosVersion: 15
157+
watchOsVersion: '8.0'
158+
watchDeviceModel: Apple Watch Series 10 (46mm)
159+
developerDir: CI_XCODE_16
146160
fail-fast: false
147161
runs-on: macos-${{ matrix.macosVersion || 14 }}
148162
name: ${{ matrix.name }}
@@ -168,7 +182,7 @@ jobs:
168182
- name: Submodules
169183
run: git submodule update --init --recursive
170184
- name: Build-Test
171-
run: set -o pipefail && env NSUnbufferedIO=YES IOS_VERSION="${{ matrix.iosVersion }}" DEVICE_MODEL="${{ matrix.deviceModel }}" bundle exec rake ${{ matrix.script }}
185+
run: set -o pipefail && env NSUnbufferedIO=YES IOS_VERSION="${{ matrix.iosVersion }}" DEVICE_MODEL="${{ matrix.deviceModel }}" WATCH_DEVICE_MODEL="${{ matrix.watchDeviceModel }}" WATCH_OS_VERSION="${{ matrix.watchOsVersion }}" bundle exec rake ${{ matrix.script }}
172186
env:
173187
DEVELOPER_DIR: ${{ env[matrix.developerDir] }}
174188
- name: Generate Environment Variables

Rakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ SCRIPT_PATH = File.expand_path(File.dirname(__FILE__))
1313
starters_path = File.join(SCRIPT_PATH, 'ParseStarterProject')
1414

1515
ios_simulator = "platform=\"iOS Simulator\",name=\"#{ENV['DEVICE_MODEL'] || 'iPhone 16'}\",OS=\"#{ENV['IOS_VERSION'] || '17.0'}\""
16-
tvos_simulator = 'platform="tvOS Simulator",name="Apple TV"'
17-
watchos_simulator = 'platform="watchOS Simulator",name="Apple Watch Series 10 (46mm)"'
16+
tvos_simulator = "platform=\"tvOS Simulator\",name=\"Apple TV\""
17+
watchos_simulator = "platform=\"watchOS Simulator\",name=\"#{ENV['WATCH_DEVICE_MODEL'] || 'Apple Watch Series 10 (46mm)'}\",OS=\"#{ENV['WATCH_OS_VERSION'] || '8.0'}\""
1818

1919
build_action = [XCTask::BuildAction::CLEAN, XCTask::BuildAction::BUILD];
2020

0 commit comments

Comments
 (0)