Skip to content

ALL CHANGES

ALL CHANGES #108

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
library-swift-latest:
name: Library (swift-latest)
runs-on: macos-13
strategy:
matrix:
config:
- debug
- release
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Select Xcode 14.3.1
run: sudo xcode-select -s /Applications/Xcode_14.3.1.app
- name: Run ${{ matrix.config }} tests
run: make CONFIG=${{ matrix.config }} test-library
library-swift-5-6:
name: Library (swift-5.6)
runs-on: macos-12
strategy:
matrix:
config:
- debug
- release
steps:
- uses: actions/checkout@v3
- name: Select Xcode 13.4.1
run: sudo xcode-select -s /Applications/Xcode_13.4.1.app
- name: Run ${{ matrix.config }} tests
run: make CONFIG=${{ matrix.config }} test-library
library-evolution:
name: Library (evolution)
runs-on: macos-13
continue-on-error: true
steps:
- uses: actions/checkout@v3
- name: Select Xcode 14.3.1
run: sudo xcode-select -s /Applications/Xcode_14.3.1.app
- name: Build for library evolution
run: make build-for-library-evolution
library-windows:
name: Library (Windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Install Swift
uses: compnerd/gha-setup-swift@main
with:
branch: swift-5.8-release
tag: 5.8-RELEASE
- name: Build and test
run: swift test
benchmarks:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: Select Xcode 14.3.1
run: sudo xcode-select -s /Applications/Xcode_14.3.1.app
- name: Run benchmark
run: make benchmark
examples:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: Select Xcode 14.3.1
run: sudo xcode-select -s /Applications/Xcode_14.3.1.app
- name: Run tests
run: make test-examples