Merge pull request #27 from jamf/ml_swift6_updates #105
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: Build & Test | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
spm: | |
name: SwiftPM build and test | |
runs-on: macos-14 | |
steps: | |
- run: | | |
sudo xcode-select -s /Applications/Xcode_15.3.app | |
- uses: actions/checkout@v3 | |
- name: Build swift packages | |
run: swift build -v | |
- name: Run tests | |
run: swift test -v | |
carthage: | |
name: Xcode project build and test | |
runs-on: macos-14 | |
steps: | |
- run: | | |
sudo xcode-select -s /Applications/Xcode_15.3.app | |
- uses: actions/checkout@v3 | |
- name: Build xcode project | |
run: xcodebuild build -scheme 'SubprocessMocks' -derivedDataPath .build | |
- name: Run tests | |
run: xcodebuild test -scheme 'Subprocess' -derivedDataPath .build | |
cocoapods: | |
name: Pod lib lint | |
runs-on: macos-14 | |
steps: | |
- run: | | |
sudo xcode-select -s /Applications/Xcode_15.3.app | |
- uses: actions/checkout@v3 | |
- name: Lib lint | |
run: pod lib lint --verbose Subprocess.podspec --allow-warnings |