Skip to content

Update .spi.yml

Update .spi.yml #155

Workflow file for this run

name: Swift
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: macos-11
strategy:
matrix:
run-config:
- { scheme: 'Lindenmayer-Package', destination: 'platform=iOS Simulator,OS=15.2,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@v2
- 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