diff --git a/.github/workflows/run-tests-WaterfallGridSample.yml b/.github/workflows/run-tests-WaterfallGridSample.yml index 80b37a5..5eb4975 100644 --- a/.github/workflows/run-tests-WaterfallGridSample.yml +++ b/.github/workflows/run-tests-WaterfallGridSample.yml @@ -8,19 +8,33 @@ jobs: build: name: Build and Test runs-on: macos-14 + steps: - uses: actions/checkout@v4 + - name: List available Xcode versions run: ls /Applications | grep Xcode + - name: Set up Xcode version run: sudo xcode-select -s /Applications/Xcode_15.4.app/Contents/Developer + - name: Show current version of Xcode run: xcodebuild -version + - name: Show Xcode embedded SDKs run: xcodebuild -showsdks + - name: Show buildable schemes run: xcodebuild -list + - name: Show eligible build destinations run: xcodebuild -showdestinations -scheme WaterfallGrid + + - name: Install Bundler + run: gem install bundler + + - name: Install xcpretty + run: gem install xcpretty + - name: Build and run tests for destination - run: xcodebuild test -scheme WaterfallGrid -destination "platform=iOS Simulator,OS=17.2,name=iPhone 15 Pro" + run: xcodebuild test -scheme WaterfallGrid -destination "platform=iOS Simulator,OS=17.5,name=iPhone 15 Pro" | xcpretty