Skip to content

Commit

Permalink
Simplify CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wtholliday committed Apr 24, 2024
1 parent 3f4a5ed commit 091948d
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,14 @@ jobs:

# Build the demo projects.
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-13
name: Build Demo
runs-on: macos-latest
needs: [swift_test]
strategy:
# Setting 'fail-fast' to 'true' implies the build will fail the first time it encounters an error.
fail-fast: true
matrix:
scheme:
- FlowDemo (iOS)
- FlowDemo (macOS)
steps:
- name: Check out Flow
uses: actions/checkout@v4
- name: Build Demo
uses: AudioKit/ci/.github/actions/build-demo@main
with:
project: Demo/FlowDemo.xcodeproj
scheme: ${{ matrix.scheme }}
xcode_version: ${{ matrix.xcode_version }}
- run: xcodebuild build -project Demo/FlowDemo.xcodeproj -scheme FlowDemo -destination "name=My Mac"

# Send notification to Discord on failure.
send_notification:
Expand Down

0 comments on commit 091948d

Please sign in to comment.