Fix crash on launch due to memory usage spike #719
Workflow file for this run
This file contains 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: CI | |
on: | |
push: | |
branches: [ main, develop ] | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
build: | |
# https://github.com/actions/runner-images/tree/main/images/macos | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create Debug.xcconfig | |
run: cp ./BuildConfiguration/Debug.template.xcconfig ./BuildConfiguration/Debug.xcconfig | |
- name: Swiftlint | |
run: swiftlint | |
- name: Set Xcode version | |
run: sudo xcode-select -s "/Applications/Xcode_15.1.app/Contents/Developer" | |
- name: Resolve dependencies | |
run: xcodebuild -resolvePackageDependencies | |
- name: Build and Run tests | |
run: xcodebuild -scheme BookPlayer test -testPlan Unit\ Tests -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.2' |