Create sockets unblocked and with close-on-exec #39
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
# Copyright 2023 Timo Röhling <timo@gaussglocke.de> | |
# SPDX-License-Identifier: FSFAP | |
# | |
# Copying and distribution of this file, with or without modification, are | |
# permitted in any medium without royalty provided the copyright notice and | |
# this notice are preserved. This file is offered as-is, without any warranty. | |
# | |
name: BSD | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
freebsd: | |
runs-on: macos-12 | |
name: FreeBSD | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: vmactions/freebsd-vm@v0 | |
with: | |
usesh: true | |
prepare: | | |
pkg install -y cmake git gmake autoconf automake | |
run: | | |
mkdir _build | |
cd _build | |
cmake .. -DDEVELOPER_BUILD=ON -DWITH_SQLITE=ON -DWITH_REDIS=ON && gmake VERBOSE=ON && ctest --output-on-failure |