Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Add documentation generation workflow and update .gitignore #56

Add documentation generation workflow and update .gitignore

Add documentation generation workflow and update .gitignore #56

Workflow file for this run

name: Swift Build & Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build-and-test:
strategy:
matrix:
include:
- runner: macos-14
config: debug
- runner: macos-14
config: release
- runner: ubuntu-24.04
config: debug
- runner: ubuntu-24.04
config: release
fail-fast: false
name: Build and Test on ${{ matrix.runner }} (${{ matrix.config }})
runs-on: ${{ matrix.runner }}
steps:
- name: Set up Swift
if: matrix.runner == 'ubuntu-24.04'
run: |
curl -L https://swiftlygo.xyz/install.sh | sudo bash
sudo swiftlygo install -y 5.10.1
- uses: actions/checkout@v4
- name: Build (${{ matrix.config }} mode)
run: swift build -c ${{ matrix.config }}
- name: Run tests (${{ matrix.config }} mode)
run: swift test -c ${{ matrix.config }}