File tree 1 file changed +12
-22
lines changed
1 file changed +12
-22
lines changed Original file line number Diff line number Diff line change 10
10
jobs :
11
11
swift_test :
12
12
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
18
19
20
+ # Build the demo projects.
19
21
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
24
24
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
-
33
25
steps :
26
+ - name : Check out Keyboard
27
+ uses : actions/checkout@v4
34
28
- 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"
40
30
41
31
# Send notification to Discord on failure.
42
32
send_notification :
You can’t perform that action at this time.
0 commit comments