. #3941
Workflow file for this run
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: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
release: | |
types: [published] | |
jobs: | |
build-freebsd: | |
name: Build FreeBSD | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Build FreeBSD | |
id: build-freebsd | |
uses: vmactions/[email protected] | |
with: | |
usesh: true | |
mem: 4096 | |
prepare: pkg install -y git cmake pkgconf boost-libs alsa-lib glib qt6-base qt6-tools sqlite gstreamer1 gstreamer1-plugins chromaprint libebur128 taglib libcdio libmtp gdk-pixbuf2 libgpod fftw3 icu kdsingleapplication googletest pulseaudio | |
run: | | |
set -e | |
git config --global --add safe.directory ${GITHUB_WORKSPACE} | |
cmake -E make_directory build | |
cmake -S . -B build -DCMAKE_BUILD_TYPE="Debug" | |
cmake --build build --config Debug --parallel 4 | |
build-openbsd: | |
name: Build OpenBSD | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Build OpenBSD | |
id: build-openbsd | |
uses: vmactions/[email protected] | |
with: | |
usesh: true | |
mem: 4096 | |
prepare: pkg_add git cmake pkgconf boost glib2 qt6-qtbase qt6-qttools sqlite gstreamer1 gstreamer1-plugins-base chromaprint libebur128 taglib libcdio libmtp gdk-pixbuf libgpod fftw3 icu4c kdsingleapplication pulseaudio | |
run: | | |
set -e | |
ln -s /usr/local/lib/libtag.so.13.1 /usr/local/lib/libtag.so | |
git config --global --add safe.directory ${GITHUB_WORKSPACE} | |
cmake -E make_directory build | |
cmake -S . -B build -DCMAKE_BUILD_TYPE="Debug" | |
cmake --build build --config Debug --parallel 4 |