updating swift tooling to prep for Swift 6 concurrency updates #158
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@v3 | |
- 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 | |
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 |