Skip to content

Merge branch 'develop' #31

Merge branch 'develop'

Merge branch 'develop' #31

Workflow file for this run

name: Build and Test
on:
push:
pull_request:
schedule:
- cron: "50 8 * * 1"
jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
image:
- swift:5.9.2-focal
- swift:5.10-jammy
- swift:6.0-noble
container: ${{ matrix.image }}
steps:
- name: Install SQLite & PG Dev
run: |
apt-get update
apt-get -y install libsqlite3-dev libpq-dev
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build Swift Debug Package
run: swift build -c debug
- name: Build Swift Release Package
run: swift build -c release
nextstep:
runs-on: macos-latest
steps:
- name: Select latest available Xcode
uses: maxim-lobanov/setup-xcode@v1.5.1
with:
xcode-version: latest
- name: Update Homebrew
run: brew update
- name: Install PQ
run: brew install libpq
- name: Link PQ
run: brew link --force libpq
- name: Checkout Repository
uses: actions/checkout@v4
- name: Build Swift Debug Package
run: swift build -c debug
- name: Build Swift Release Package
run: swift build -c release