Polish settings UI and improve live capture diagnostics #272
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| jobs: | |
| macos-tests: | |
| runs-on: macos-26 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Reset SwiftPM binary artifact cache | |
| run: | | |
| SPM_CACHE_PATH="$RUNNER_TEMP/spm-cache" | |
| SPM_CLONE_PATH="$RUNNER_TEMP/spm-source-packages" | |
| rm -rf ~/Library/Caches/org.swift.swiftpm | |
| rm -rf "$SPM_CACHE_PATH" "$SPM_CLONE_PATH" | |
| mkdir -p "$SPM_CACHE_PATH" "$SPM_CLONE_PATH" | |
| - name: Resolve Swift packages | |
| run: | | |
| SPM_CACHE_PATH="$RUNNER_TEMP/spm-cache" | |
| SPM_CLONE_PATH="$RUNNER_TEMP/spm-source-packages" | |
| xcodebuild -resolvePackageDependencies \ | |
| -project Voxt.xcodeproj \ | |
| -clonedSourcePackagesDirPath "$SPM_CLONE_PATH" \ | |
| -packageCachePath "$SPM_CACHE_PATH" \ | |
| -disablePackageRepositoryCache | |
| - name: Run tests | |
| run: | | |
| SPM_CACHE_PATH="$RUNNER_TEMP/spm-cache" | |
| SPM_CLONE_PATH="$RUNNER_TEMP/spm-source-packages" | |
| xcodebuild test \ | |
| -project Voxt.xcodeproj \ | |
| -scheme Voxt \ | |
| -destination 'platform=macOS' \ | |
| -clonedSourcePackagesDirPath "$SPM_CLONE_PATH" \ | |
| -packageCachePath "$SPM_CACHE_PATH" \ | |
| -disablePackageRepositoryCache \ | |
| CODE_SIGNING_ALLOWED=NO |