Skip to content

Commit 9f0ae29

Browse files
committed
Simplify CI a la Flow
1 parent e83c7ae commit 9f0ae29

File tree

1 file changed

+12
-22
lines changed

1 file changed

+12
-22
lines changed

.github/workflows/tests.yml

+12-22
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,23 @@ on:
1010
jobs:
1111
swift_test:
1212
name: Test
13-
uses: AudioKit/ci/.github/workflows/swift_test.yml@main
14-
with:
15-
scheme: Keyboard
16-
platforms: iOS macOS
17-
swift-versions: 5.9
13+
runs-on: macos-latest
14+
steps:
15+
- name: Check out Keyboard
16+
uses: actions/checkout@v4
17+
- name: Test Keyboard
18+
run: swift test -c release
1819

20+
# Build the demo projects.
1921
build_demo:
20-
name: Build ${{ matrix.scheme }} (Xcode ${{ matrix.xcode_version }})
21-
# NOTE: macos-latest is NOT equivalent to macos-12 as of September 2022.
22-
# Source: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
23-
runs-on: macos-12
22+
name: Build Demo
23+
runs-on: macos-latest
2424
needs: [swift_test]
25-
strategy:
26-
# Disabling fail-fast ensures that the job will run all configurations of the matrix, even if one fails.
27-
fail-fast: false
28-
matrix:
29-
scheme:
30-
- KeyboardDemo (iOS)
31-
- KeyboardDemo (macOS)
32-
3325
steps:
26+
- name: Check out Keyboard
27+
uses: actions/checkout@v4
3428
- name: Build Demo
35-
uses: AudioKit/ci/.github/actions/build-demo@main
36-
with:
37-
project: Demo/KeyboardDemo.xcodeproj
38-
scheme: ${{ matrix.scheme }}
39-
xcode_version: ${{ matrix.xcode_version }}
29+
run: xcodebuild build -project Demo/KeyboardDemo.xcodeproj -scheme KeyboardDemo -destination "name=My Mac"
4030

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

0 commit comments

Comments
 (0)