Skip to content

WIP: Added new static Chord function to provide chord possibilities f… #49

WIP: Added new static Chord function to provide chord possibilities f…

WIP: Added new static Chord function to provide chord possibilities f… #49

Workflow file for this run

name: Tests
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
swift_test:
name: Test
uses: AudioKit/ci/.github/workflows/swift_test.yml@main
with:
scheme: Tonic
platforms: iOS macOS tvOS watchOS Linux
swift-versions: 5.3 5.4 5.5 5.6
build_demo:
name: Build ${{ matrix.scheme }} (Xcode ${{ matrix.xcode_version }})
# NOTE: macos-latest is NOT equivalent to macos-12 as of September 2022.
# Source: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
runs-on: macos-12
needs: [swift_test]
strategy:
# Disabling fail-fast ensures that the job will run all configurations of the matrix, even if one fails.
fail-fast: false
matrix:
scheme:
- TonicDemo (iOS)
- TonicDemo (macOS)
xcode_version:
- '13.2' # swift 5.5
- '13.4' # swift 5.6
steps:
- name: Build Demo
uses: AudioKit/ci/.github/actions/build-demo@main
with:
project: Demo/TonicDemo.xcodeproj
scheme: ${{ matrix.scheme }}
xcode_version: ${{ matrix.xcode_version }}
# Send notification to Discord on failure.
send_notification:
name: Send Notification
uses: AudioKit/ci/.github/workflows/send_notification.yml@main
needs: [swift_test, build_demo]
if: ${{ failure() && github.ref == 'refs/heads/main' }}
secrets: inherit