-
Notifications
You must be signed in to change notification settings - Fork 165
51 lines (48 loc) · 1.18 KB
/
ubuntu.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
43
44
45
46
47
48
49
50
51
name: ubuntu
on:
push:
paths-ignore:
- '.github/workflows/**'
- '!.github/workflows/ubuntu.yml'
pull_request:
paths-ignore:
- '.github/workflows/**'
- '!.github/workflows/ubuntu.yml'
permissions: read
jobs:
ubuntu-20-04:
runs-on: ubuntu-20.04
steps:
- name: checkout libva
uses: actions/checkout@v3
with:
repository: intel/libva
path: libva
- name: checkout libva-utils
uses: actions/checkout@v3
with:
path: libva-utils
- name: install prerequisites
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
libdrm-dev \
libegl1-mesa-dev \
libgl1-mesa-dev \
libx11-dev \
libxext-dev \
libxfixes-dev \
libwayland-dev
- name: build libva
run: |
cd libva
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
make -j$(nproc)
sudo make install
- name: build libva-utils
run: |
cd libva-utils
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
make -j$(nproc)
make check
sudo make install