Apply Subito customizations to version 9.12.0 #11
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: Build | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
cocoapods: | |
name: CocoaPods (Xcode 15.1) | |
runs-on: macOS-13 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Use Xcode 15.1 | |
run: sudo xcode-select -switch /Applications/Xcode_15.1.app | |
- name: Run pod lib lint | |
run: pod lib lint | |
spm: | |
name: SPM (Xcode 15.1) | |
runs-on: macOS-13 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Use Xcode 15.1 | |
run: sudo xcode-select -switch /Applications/Xcode_15.1.app | |
- name: Use current branch | |
run: sed -i '' 's/branch = .*/branch = \"'"$GITHUB_HEAD_REF"'\";/' SampleApps/SPMTest/SPMTest.xcodeproj/project.pbxproj | |
- name: Run swift package resolve | |
run: cd SampleApps/SPMTest && swift package resolve | |
- name: Build & archive SPMTest | |
run: set -o pipefail && xcodebuild -project 'SampleApps/SPMTest/SPMTest.xcodeproj' -scheme 'SPMTest' clean build archive CODE_SIGNING_ALLOWED=NO | xcpretty |