Skip to content

CI

CI #193

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- "**"
schedule:
- cron: "3 3 * * 2" # 3:03 AM, every Tuesday
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
macOS:
name: ${{ matrix.platform }} (Swift ${{ matrix.swift }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
platform:
- iOS
- macOS
- tvOS
- watchOS
swift:
- "5.9"
- "5.10"
- "6.0"
include:
- swift: "5.9"
os: macos-13
- swift: "5.10"
os: macos-14
- swift: "6.0"
os: macos-14
- action: test
- platform: tvOS
action: build
- platform: watchOS
action: build
steps:
- uses: actions/checkout@v4
- uses: mxcl/xcodebuild@v2
with:
action: ${{ matrix.action }}
platform: ${{ matrix.platform }}
swift: ~${{ matrix.swift }}
scheme: Builders
linux:
name: Linux (Swift ${{ matrix.swift }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
swift:
- "5.9"
- "5.10"
container:
image: swift:${{ matrix.swift }}
steps:
- uses: actions/checkout@v4
- run: swift test --parallel --sanitize=thread -Xswiftc -warnings-as-errors