File tree 1 file changed +11
-21
lines changed
1 file changed +11
-21
lines changed Original file line number Diff line number Diff line change 8
8
branches : [main]
9
9
10
10
jobs :
11
- # Run swift test across all applicable platforms and versions.
12
11
swift_test :
13
12
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
18
19
19
20
# Build the demo projects.
20
21
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
25
24
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)
33
25
steps :
26
+ - name : Check out Flow
27
+ uses : actions/checkout@v4
34
28
- 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"
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