Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FreeBSD to CI #240

Merged
merged 4 commits into from
May 21, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CI: add FreeBSD job
  • Loading branch information
jbeich committed May 20, 2020
commit 4e4f0920bd91b0d162a121ae7b09a4b7e65f24dc
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ matrix:
include:
- os: linux
compiler: gcc
- os: freebsd
compiler: clang
- os: osx
osx_image: xcode10.1
compiler: clang
Expand All @@ -15,6 +17,8 @@ install:
- |
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
sudo apt-get -y install qt5-default libfuse-dev libmagic-dev libtag1-dev libssl-dev
elif [ "${TRAVIS_OS_NAME}" = "freebsd" ]; then
sudo pkg install -y ninja qt5-qmake qt5-buildtools qt5-widgets fusefs-libs pybind11 taglib
elif [ "${TRAVIS_OS_NAME}" = "osx" ]; then
brew tap homebrew/cask && brew install qt5 homebrew/cask/osxfuse taglib openssl@1.1
fi
Expand All @@ -32,6 +36,9 @@ script:
export VERSION=$(git rev-parse --short HEAD) &&
./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -bundle-non-qt-libs &&
./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
elif [ "${TRAVIS_OS_NAME}" = "freebsd" ]; then
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DUSB_BACKEND_LIBUSB=YES
jbeich marked this conversation as resolved.
Show resolved Hide resolved
cmake --build build
elif [ "${TRAVIS_OS_NAME}" = "osx" ]; then
mkdir build &&
cd build &&
Expand Down