Let users pass custom DispatchQueue to DNSServiceDiscovery #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
# TODO: Reenable macOS build once the repo is open-sourced | |
# - macos-latest | |
swift: ['5.8'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install native dependencies (Linux) | |
if: runner.os == 'Linux' | |
run: sudo apt-get install -y libavahi-compat-libdnssd-dev | |
- name: Install Swift | |
uses: swift-actions/setup-swift@v1 | |
with: | |
swift-version: ${{ matrix.swift }} | |
- name: Build | |
run: swift build | |
- name: Test | |
run: swift test |