updated yrs bindings to use version 0.17.2 #91
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 ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: macos-12 #macOS Monterey | |
env: | |
YSWIFT_LOCAL: true | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v3 | |
- name: Switch to Xcode 14.2 | |
run: sudo xcode-select -s /Applications/Xcode_14.2.app | |
- name: Show Build Version | |
run: xcodebuild -version | |
- name: Build XCFramework | |
run: ./scripts/build-xcframework.sh | |
- name: Build YSwift | |
run: swift build | |
- name: Test YSwift | |
run: swift test --enable-code-coverage -v | |
# per https://github.com/tuist/tuist/discussions/2802, we could also | |
# bundle and include tuist in tthe repository if that had value. | |
- name: Install Tuist | |
run: curl -Ls https://install.tuist.io | bash | |
- name: Tuist Fetch | |
run: | | |
cd examples | |
tuist fetch | |
- name: Tuist Generate | |
run: | | |
cd examples | |
tuist generate -n | |
- name: Tuist Test | |
run: | | |
cd examples | |
tuist build | |
# NOTE: use `xcodebuild -list` to show the local schemes available | |
# - name: Show Build Settings | |
# run: xcodebuild -scheme YSwift -showBuildSettings | |
# - name: Show Build SDK | |
# run: xcodebuild -scheme YSwift -showsdks | |
# - name: env review | |
# run: env | |
#- name: Xcode iOS build | |
#run: xcodebuild clean build -scheme YSwift -destination 'platform=iOS Simulator,OS=15.5,name=iPhone 8' -showBuildTimingSummary | |
#- name: check against API breaking changes | |
# run: swift package diagnose-api-breaking-changes 0.1.0 | |
# - name: Prepare Code Coverage | |
# run: xcrun llvm-cov export -format="lcov" .build/debug/xxx.xctest/Contents/MacOS/xx -instr-profile .build/debug/codecov/default.profdata > info.lcov | |
# - name: Upload to CodeCov.io | |
# run: bash <(curl https://codecov.io/bash) | |
# env: | |
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |