Skip to content

Updates service models to 2023-09-28 #123

Updates service models to 2023-09-28

Updates service models to 2023-09-28 #123

Workflow file for this run

name: Build
on:
push:
branches:
- main
paths:
- 'Package.*'
- 'Sources/**'
pull_request:
jobs:
build:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
swift:
- '5.5'
- '5.6'
- '5.7'
- '5.8'
- '5.9'
include:
- os: macos-11
swift: '5.5'
- os: macos-11
swift: '5.6'
- os: macos-12
swift: '5.7'
- os: macos-12
swift: '5.8'
- os: macos-13
swift: '5.9'
exclude:
- os: ubuntu-22.04
swift: '5.5'
- os: ubuntu-22.04
swift: '5.6'
runs-on: ${{ matrix.os }}
steps:
- name: Setup Swift
uses: swift-actions/setup-swift@v1
with:
swift-version: ${{ matrix.swift }}
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: swift build
build-without-warnings:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: swift build --build-tests -Xswiftc -warnings-as-errors
build-with-docc:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: swift build -Xswiftc -DBUILDING_DOCC