Skip to content

Build and Test

Build and Test #43

Workflow file for this run

name: Build and Test
on:
push:
pull_request:
schedule:
- cron: "0 7 * * 1"
jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
image:
- swift:5.5.0-focal
- swift:5.10.1-noble
container: ${{ matrix.image }}
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- 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/[email protected]
with:
xcode-version: 15.4
- name: Checkout Repository
uses: actions/checkout@v2
- name: Build Swift Debug Package
run: swift build -c debug
- name: Build Swift Release Package
run: swift build -c release