swift6 updates reflected as of Xcode16-beta3 #173
Workflow file for this run
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: Swift | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: macos-14 | |
strategy: | |
matrix: | |
run-config: | |
- { scheme: 'Lindenmayer-Package', destination: 'platform=iOS Simulator,OS=15.5,name=iPhone 8' } | |
# Xcode on Github Actions supports at best up to macOS 11.6.2 currently... | |
- { scheme: 'Lindenmayer-Package', destination: 'platform=macOS,arch=x86_64' } | |
steps: | |
- uses: actions/checkout@v4 | |
# default Xcode for macOS 14 image is v15.0.1 | |
- name: Select Xcode 15.3 | |
run: sudo xcode-select -s /Applications/Xcode_15.3.app | |
- name: Show Build SDK | |
run: xcodebuild -showsdks | |
- name: List available schemes | |
run: xcodebuild -list | |
- name: Show Build Settings | |
run: xcodebuild -scheme '${{ matrix.run-config['scheme'] }}' -showBuildSettings | |
- name: Show Available Destinations | |
run: xcodebuild -scheme '${{ matrix.run-config['scheme'] }}' -showdestinations | |
- name: Build and Test | |
run: xcodebuild clean test -scheme '${{ matrix.run-config['scheme'] }}' -destination '${{ matrix.run-config['destination'] }}' -showBuildTimingSummary | |
# - name: DocBuild | |
# run: xcodebuild docbuild -scheme '${{ matrix.run-config['scheme'] }}' -destination '${{ matrix.run-config['destination'] }}' -derivedDataPath /tmp/docbuild |