Skip to content

Merge pull request #61 from buildkite/update-swift-add-location #114

Merge pull request #61 from buildkite/update-swift-add-location

Merge pull request #61 from buildkite/update-swift-add-location #114

Workflow file for this run

name: macOS Tests (Swift)
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
macos-tests:
name: Swift ${{ matrix.swift-version }} (macOS)
runs-on: macos-13
strategy:
matrix:
xcode-version:
- '14.1'
- '15.2'
include:
- swift-version: '5.7.1'
xcode-version: '14.1'
- swift-version: '5.9.2'
xcode-version: '15.2'
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode-version }}.app/Contents/Developer"
steps:
- name: "⬇️ Checkout"
uses: actions/checkout@v2
- name: "🛠 Build and Run Tests"
run: swift test --parallel
- name: "🛠 Build Release"
run: swift build --configuration release