Skip to content

Commit 763878a

Browse files
authored
Try to fix CI (#38)
1 parent b433362 commit 763878a

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

.github/workflows/tests.yml

+11-21
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,25 @@ on:
88
branches: [main]
99

1010
jobs:
11-
# Run swift test across all applicable platforms and versions.
1211
swift_test:
1312
name: Test
14-
uses: AudioKit/ci/.github/workflows/swift_test.yml@main
15-
with:
16-
scheme: Flow
17-
platforms: iOS macOS
13+
runs-on: macos-latest
14+
steps:
15+
- name: Check out Flow
16+
uses: actions/checkout@v4
17+
- name: Test Flow
18+
run: swift test -c release
1819

1920
# Build the demo projects.
2021
build_demo:
21-
name: Build ${{ matrix.scheme }} (Xcode ${{ matrix.xcode_version }})
22-
# NOTE: macos-latest is NOT equivalent to macos-12 as of September 2022.
23-
# Source: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
24-
runs-on: macos-13
22+
name: Build Demo
23+
runs-on: macos-latest
2524
needs: [swift_test]
26-
strategy:
27-
# Setting 'fail-fast' to 'true' implies the build will fail the first time it encounters an error.
28-
fail-fast: true
29-
matrix:
30-
scheme:
31-
- FlowDemo (iOS)
32-
- FlowDemo (macOS)
3325
steps:
26+
- name: Check out Flow
27+
uses: actions/checkout@v4
3428
- name: Build Demo
35-
uses: AudioKit/ci/.github/actions/build-demo@main
36-
with:
37-
project: Demo/FlowDemo.xcodeproj
38-
scheme: ${{ matrix.scheme }}
39-
xcode_version: ${{ matrix.xcode_version }}
29+
run: xcodebuild build -project Demo/FlowDemo.xcodeproj -scheme FlowDemo -destination "name=My Mac"
4030

4131
# Send notification to Discord on failure.
4232
send_notification:

0 commit comments

Comments
 (0)