|
@@ -28,7 +28,7 @@ jobs:
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
|
- name: Select Xcode version
|
|
- name: Select Xcode version
|
|
|
- run: sudo xcode-select -s /Applications/Xcode_16.3.app/Contents/Developer
|
|
|
|
|
|
|
+ run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
|
|
|
|
|
|
|
|
- name: Checkout code
|
|
- name: Checkout code
|
|
|
uses: actions/checkout@v4
|
|
uses: actions/checkout@v4
|
|
@@ -55,13 +55,16 @@ jobs:
|
|
|
echo "📂 Contents of .build:"
|
|
echo "📂 Contents of .build:"
|
|
|
ls -lah .build || echo ".build directory not found"
|
|
ls -lah .build || echo ".build directory not found"
|
|
|
|
|
|
|
|
|
|
+ - name: List available simulators
|
|
|
|
|
+ run: xcrun simctl list devices available
|
|
|
|
|
+
|
|
|
- name: Build for testing
|
|
- name: Build for testing
|
|
|
run: |
|
|
run: |
|
|
|
set -o pipefail && \
|
|
set -o pipefail && \
|
|
|
time xcodebuild build-for-testing \
|
|
time xcodebuild build-for-testing \
|
|
|
-workspace Trio.xcworkspace \
|
|
-workspace Trio.xcworkspace \
|
|
|
-scheme "Trio Tests" \
|
|
-scheme "Trio Tests" \
|
|
|
- -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.4' \
|
|
|
|
|
|
|
+ -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.5' \
|
|
|
|
|
|
|
|
- name: Check for uncommitted changes
|
|
- name: Check for uncommitted changes
|
|
|
run: |
|
|
run: |
|
|
@@ -104,7 +107,7 @@ jobs:
|
|
|
time xcodebuild test-without-building \
|
|
time xcodebuild test-without-building \
|
|
|
-workspace Trio.xcworkspace \
|
|
-workspace Trio.xcworkspace \
|
|
|
-scheme "Trio Tests" \
|
|
-scheme "Trio Tests" \
|
|
|
- -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.4' \
|
|
|
|
|
|
|
+ -destination 'platform=iOS Simulator,name=iPhone 16,OS=18.5' \
|
|
|
$([ "$ENABLE_PARALLEL_TESTING" = "true" ] && echo "-parallel-testing-enabled YES") \
|
|
$([ "$ENABLE_PARALLEL_TESTING" = "true" ] && echo "-parallel-testing-enabled YES") \
|
|
|
2>&1 | tee xcodebuild.log
|
|
2>&1 | tee xcodebuild.log
|
|
|
|
|
|