Skip to content

Fix build and add CI #2

Fix build and add CI

Fix build and add CI #2

Workflow file for this run

name: spm
on:
pull_request:
schedule:
# Run every day at 11pm (PST) - cron uses UTC times
- cron: '0 7 * * *'
jobs:
swiftpm-build-tests:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v3
- name: Initialize xcodebuild
run: xcodebuild -list
- name: iOS Simulator Build Tests
run: xcodebuild -scheme gRPC-Package build -sdk 'iphonesimulator' -destination 'platform=iOS Simulator,name=iPhone 14'
- name: macos Build Tests
run: xcodebuild -scheme gRPC-Package -sdk 'macosx' -destination 'platform=OS X,arch=x86_64',
- name: tvOS Build Tests
run: xcodebuild -scheme gRPC-Package build -sdk "appletvsimulator" -destination 'platform=tvOS Simulator,name=Apple TV'
- name: iOS Device Build Tests
run: xcodebuild -scheme gRPC-Package build -sdk 'iphoneos'