Skip to content

Merge branch 'develop' #161

Merge branch 'develop'

Merge branch 'develop' #161

Workflow file for this run

name: Build and Test
on:
push:
pull_request:
jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
image:
- swift:5.5.1-xenial
- swift:5.6.2-focal
- swift:5.8.1-jammy
- swiftlang/swift:nightly-5.9-focal
container: ${{ matrix.image }}
steps:
- name: Install SQLite
run: |
apt-get -qq update
apt-get -y -qq install libsqlite3-dev
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Override Package.swift
run: cp .github/_support/Package.swift .github/_support/Package\@swift-5.swift .
- name: Build Swift Debug Package
run: swift build -c debug
- name: Build Swift Release Package
run: swift build -c release
- name: Run Tests
run: swift test
nextstep:
runs-on: macos-latest
steps:
- name: Select latest available Xcode
uses: maxim-lobanov/[email protected]
with:
xcode-version: latest
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Override Package.swift
run: cp .github/_support/Package.swift .github/_support/Package\@swift-5.swift .
- name: Build Swift Debug Package
run: swift build -c debug
- name: Build Swift Release Package
run: swift build -c release
- name: Run Tests
run: swift test