-
Notifications
You must be signed in to change notification settings - Fork 165
42 lines (39 loc) · 1.05 KB
/
freebsd.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: freebsd
on:
push:
paths-ignore:
- '.github/workflows/**'
- '!.github/workflows/freebsd.yml'
pull_request:
paths-ignore:
- '.github/workflows/**'
- '!.github/workflows/freebsd.yml'
permissions: read-all
jobs:
freebsd:
runs-on: ubuntu-latest
steps:
- name: checkout libva
uses: actions/checkout@v4
with:
repository: intel/libva
path: libva
- name: checkout libva-utils
uses: actions/checkout@v4
with:
path: libva-utils
- name: test
uses: vmactions/freebsd-vm@v1
with:
prepare: |
pkg install -y meson pkgconf libdrm libXext libXfixes wayland
pkg install -y -x '^mesa($|-libs)'
run: |
cd libva
meson setup _build --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
meson compile -C _build
meson install -C _build
cd ../libva-utils
meson setup _build --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
meson compile -C _build
meson install -C _build