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 Dec 8, 2021
1 parent 830a76f commit b653a8d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,27 @@ 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 && meson compile -C _build && sudo meson install -C _build)
script:
- ccache -s
- ccache -z
- 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
- ccache -s
- ccache -z

0 comments on commit b653a8d

Please sign in to comment.