Skip to content

Build Swift API

Build Swift API #687

Workflow file for this run

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