Build Swift API #622
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 Swift API | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
build: | |
name: Build and test | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
- name: Set Xcode version | |
run: sudo xcode-select -s /Applications/Xcode_11.app | |
- name: Start websockets test server | |
run: | | |
cd TestWebsockets | |
brew install libressl | |
brew install pkg-config | |
swift build | |
# .build/debug/TestWebsockets& | |
# cd .. | |
# set -o pipefail && xcodebuild -project QminderAPI.xcodeproj -scheme QminderAPI-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 4K' CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -enableCodeCoverage YES clean test build | xcpretty --color |