Add BSD/Solaris runner #1
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 2022 Timo Röhling <[email protected]> | |
# 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 and Solaris | |
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 | |
run: | | |
mkdir _build | |
cd _build | |
cmake .. -DDEVELOPER_BUILD=ON -DWITH_SQLITE=ON -DWITH_REDIS=ON | |
make VERBOSE=ON | |
ctest --output-on-failure | |
openbsd: | |
runs-on: macos-12 | |
name: OpenBSD | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: vmactions/openbsd-vm@v0 | |
with: | |
usesh: true | |
prepare: | | |
pkg_add cmake | |
run: | | |
mkdir _build | |
cd _build | |
cmake .. -DDEVELOPER_BUILD=ON -DWITH_SQLITE=ON -DWITH_REDIS=ON | |
make VERBOSE=ON | |
ctest --output-on-failure | |
solaris: | |
runs-on: macos-12 | |
name: Solaris | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: vmactions/solaris-vm@v0 | |
with: | |
usesh: true | |
prepare: | | |
pkgutil -y -i cmake | |
run: | | |
mkdir _build | |
cd _build | |
cmake .. -DDEVELOPER_BUILD=ON -DWITH_SQLITE=ON -DWITH_REDIS=ON | |
make VERBOSE=ON | |
ctest --output-on-failure |