Skip to content

Commit 03ee6ff

Browse files
committed
more verbose script
1 parent aa24f33 commit 03ee6ff

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
- name: iOS
2525
action: test-ios
2626
logfiles: raw-*-ios.log
27-
platform: ios
2827
- name: macOS
2928
action: test-macos
3029
logfiles: raw-*-macos.log
@@ -34,15 +33,15 @@ jobs:
3433
- name: tvOS
3534
action: test-tvos
3635
logfiles: raw-*-tvos.log
37-
platform: tvos
36+
platform: tvOS
3837
- name: watchOS
3938
action: test-watchos
4039
logfiles: raw-*-watchos.log
41-
platform: watchos
40+
platform: watchOS
4241
- name: visionOS
4342
action: test-visionos
4443
logfiles: raw-*-visionos.log
45-
platform: visionos
44+
platform: visionOS
4645
steps:
4746
- name: Checkout the repository
4847
uses: actions/checkout@v6

scripts/ci-ensure-runtime-loaded.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ fi
4343

4444
check_runtime_loaded() {
4545
echo "Checking if runtime $PLATFORM ($OS_VERSION) is loaded..."
46-
if xcrun simctl list runtimes -v | grep -qE "$PLATFORM $OS_VERSION" && ! xcrun simctl list runtimes -v | grep -qE "$PLATFORM $OS_VERSION.*unavailable" ; then
46+
RUNTIMES=$(xcrun simctl list runtimes -v)
47+
48+
echo "Available runtimes:"
49+
echo "$RUNTIMES"
50+
51+
if echo "$RUNTIMES" | grep -qE "$PLATFORM $OS_VERSION" && ! echo "$RUNTIMES" | grep -qE "$PLATFORM $OS_VERSION.*unavailable" ; then
4752
echo "Runtime $OS_VERSION is loaded"
4853
exit 0
4954
fi

0 commit comments

Comments
 (0)