From 091948df1dc9a6189d081b9171d5379dbe1cb436 Mon Sep 17 00:00:00 2001 From: Taylor Holliday Date: Tue, 23 Apr 2024 22:19:00 -0700 Subject: [PATCH] Simplify CI --- .github/workflows/tests.yml | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8a73e9d..e7173b7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: