Copy 18.2 snapshots to 18.1 #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test iOS 17 & iOS 18 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build-and-test: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: See All Xcode Versions | |
run: ls -n /Applications/ | grep Xcode* | |
- name: Set Xcode Version | |
run: sudo xcode-select -s /Applications/Xcode_16.1.app | |
- name: Clean Build Test | |
run: | | |
xcodebuild clean build test \ | |
-project Hymns.xcodeproj \ | |
-scheme Hymns \ | |
-destination "platform=iOS Simulator,name=iPhone 15 Pro,OS=17.5" \ | |
-destination "platform=iOS Simulator,name=iPhone 16 Pro,OS=18.1" | |
- name: Upload test results | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: Test Logs | |
path: /Users/runner/Library/Developer/Xcode/DerivedData/Hymns-*/Logs | |
retention-days: 5 | |
- name: Download all workflow run artifacts | |
uses: actions/download-artifact@v4 |