Skip to content

Commit

Permalink
CI: add FreeBSD job
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeich committed Jul 12, 2020
1 parent cf758f5 commit 828d646
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,23 @@ script:
make -j8
- ccache -s
- ccache -z

jobs:
include:
- os: linux
- os: freebsd
compiler: clang
before_install:
- sudo pkg install -y meson pkgconf libdrm libXext libXfixes wayland
- sudo pkg install -y -x '^mesa($|-libs)'
install:
- sudo ln -sf /usr/local/libdata/pkgconfig /usr/local/lib/
- git clone https://github.com/intel/gmmlib.git
- (cd gmmlib && cmake -B build -G Ninja && cmake --build build && sudo cmake --install build)
- git clone https://github.com/intel/libva.git
- (cd libva && meson build && ninja -C build && sudo ninja -C build install)
script:
- cmake -B build -G Ninja \
-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DBUILD_TYPE=Release -DBUILD_CMRTLIB=OFF -DMEDIA_RUN_TEST_SUITE=OFF
- cmake --build build

0 comments on commit 828d646

Please sign in to comment.