Skip to content

Merge pull request #2 from dsward2/exit-with-parent-watchdog #21

Merge pull request #2 from dsward2/exit-with-parent-watchdog

Merge pull request #2 from dsward2/exit-with-parent-watchdog #21

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
name: Build (${{ matrix.config }})
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
config: [debug, release]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Show Swift version
run: swift --version
- name: Install libmp3lame
run: brew install lame pkg-config
- name: Verify pkg-config sees mp3lame
run: pkg-config --libs mp3lame
- name: Build
run: swift build -c ${{ matrix.config }}
- name: Test
if: matrix.config == 'debug'
run: swift test