Skip to content

Commit f862f6a

Browse files
committed
New workflow
1 parent cf88e7e commit f862f6a

File tree

1 file changed

+14
-24
lines changed

1 file changed

+14
-24
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,17 @@
1-
# GitHub Actions for SoundpipeAudioKit: includes builds, tests and releases
2-
name: CI
1+
name: Tests
32

4-
on: [push, pull_request]
5-
env:
6-
XCODE_VER: latest-stable
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [main]
7+
pull_request:
8+
branches: [main]
79

810
jobs:
9-
test:
10-
strategy:
11-
matrix:
12-
xcode_version: ['13.1']
13-
runs-on: macos-12
14-
env:
15-
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode_version }}.app
16-
steps:
17-
- name: Check out SoundpipeAudioKit
18-
uses: actions/checkout@v2
19-
- name: Build SoundpipeAudioKit
20-
run: |
21-
set -euo pipefail
22-
swift package clean
23-
swift build --sanitize="address"
24-
- name: Run Tests (ASAN)
25-
run: |
26-
set -euo pipefail
27-
xcodebuild -destination 'platform=OS X,arch=x86_64' -scheme SoundpipeAudioKit -enableAddressSanitizer YES test | xcpretty
11+
swift_test:
12+
name: Test
13+
uses: AudioKit/ci/.github/workflows/swift_test.yml@main
14+
with:
15+
scheme: SoundpipeAudioKit
16+
platforms: iOS macOS
17+
swift-versions: 5.5 5.6

0 commit comments

Comments
 (0)