Update swift.yml #6
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
# This workflow will build a Swift project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift | |
name: Swift | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Select Xcode 15.2 | |
run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer | |
- name: Show eligible build destinations for StableID | |
run: xcodebuild -showdestinations -scheme StableID | |
- name: Build and test ( macOS 13) | |
run: xcodebuild test -scheme StableID -destination 'platform=macOS,arch=x86_64,id=4203018E-580F-C1B5-9525-B745CECA79EB' | |
# - name: Build and test ( iOS 17) | |
# run: xcodebuild test -scheme StableID -destination 'platform=iOS Simulator,OS=17.2,name=iPhone 15 Pro' |