Skip to content

Update swift.yml

Update swift.yml #6

Workflow file for this run

# 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'