Skip to content

try on different Xcode versions #14

try on different Xcode versions

try on different Xcode versions #14

Workflow file for this run

name: Check
# TODO fail-fast or whatever it's called
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
check:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
xcode-version: [15.3, 16-beta]
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode-version }}
- run: npm ci
- run: script/format/check
- run: script/lint/check
# https://forums.swift.org/t/warnings-as-errors-for-libraries-frameworks/58393/2
- run: swift build -Xswiftc -warnings-as-errors
- run: swift test
check-on-platforms:
runs-on: macos-latest
strategy:
matrix:
fail-fast: false

Check failure on line 38 in .github/workflows/check.yaml

View workflow run for this annotation

GitHub Actions / Check

Invalid workflow file

The workflow is not valid. .github/workflows/check.yaml (Line: 38, Col: 20): Unexpected value 'false'
xcode-version: [15.3, 16-beta]
platform: [macOS, iOS, tvOS]
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.xcode-version }}
# TODO OS version, and ambiguity in platforms, and no match
- run: xcodebuild -scheme AblyChat -destination "platform=${{ matrix.platform }}"
- run: xcodebuild test -scheme AblyChat -destination "platform=${{ matrix.platform }}"