Implement debug logging for view model updates #254
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
# GitHub Actions Virtual Environments | |
# https://github.com/actions/virtual-environments/ | |
name: SwiftPM Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_16.0.app/Contents/Developer | |
IOS_DEST: "platform=iOS Simulator,name=iPhone 16,OS=latest" | |
SCHEME: ReactiveCollectionsKit | |
jobs: | |
main: | |
name: SwiftPM Build | |
runs-on: macos-14 | |
steps: | |
- name: git checkout | |
uses: actions/checkout@v4 | |
- name: xcode version | |
run: xcodebuild -version -sdk | |
- name: list simulators | |
run: | | |
xcrun simctl delete unavailable | |
xcrun simctl list | |
# delete Xcode project to force using Package.swift | |
- name: delete xcodeproj | |
run: rm -rf ReactiveCollectionsKit.xcodeproj | |
- name: Build | |
run: | | |
set -o pipefail | |
xcodebuild build -scheme "$SCHEME" -destination "$IOS_DEST" | xcpretty -c |