-
-
Notifications
You must be signed in to change notification settings - Fork 89
26 lines (22 loc) · 926 Bytes
/
tests.yaml
File metadata and controls
26 lines (22 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
name: Run Tests
on:
pull_request:
branches:
- main
jobs:
tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Select Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 'latest'
- name: Install Metal toolchain
run: xcodebuild -downloadComponent MetalToolchain
- name: Build
run: xcodebuild build-for-testing -scheme MLXAudio-Package -destination 'platform=macOS' MACOSX_DEPLOYMENT_TARGET=14.0 CODE_SIGNING_ALLOWED=NO
- name: Run tests
run: xcodebuild test-without-building -scheme MLXAudio-Package -destination 'platform=macOS' -skip-testing:'MLXAudioTests/SmokeTests' -parallel-testing-enabled NO CODE_SIGNING_ALLOWED=NO