Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
146 commits
Select commit Hold shift + click to select a range
29e6290
libva 2.17.0.pre1
XinfengZhang Sep 27, 2022
d862623
drm: add radeon drm + radeonsi mesa combo
evelikov-work Jul 6, 2022
4d4c5f0
drm: remove VA_DRM_IsRenderNodeFd() helper
evelikov-work Jul 6, 2022
ef1df02
x11: add basic DRI3 support
evelikov-work Jul 6, 2022
65c67dd
ci: add libx11-xcb-dev libxcb-dri3-dev to trigger X11 backend build
dvrogozh Oct 6, 2022
aca9f69
meson: Add with_win32 option, makes libdrm non-mandatory on Win
sivileri Sep 2, 2022
84d4906
pkgconfig: Add Win32 package for when WITH_WIN32 is enabled
sivileri Sep 2, 2022
816326f
va: Adds compat_win32 abstraction for Windows build and prepares va c…
sivileri Sep 6, 2022
11a78ef
va: Adds Win32 Node and Windows build support
sivileri Sep 6, 2022
3c46ca5
va_trace: va_TraceSurfaceAttributes should check the VASurfaceAttribM…
sivileri Sep 8, 2022
f81d805
va_trace: Add Win32 memory types in va_TraceSurfaceAttributes
sivileri Sep 9, 2022
2579eb0
ci: Add msvc/mingw Windows CI
sivileri Sep 2, 2022
ed7b12d
fix resouce check null
Dylan-debug Oct 11, 2022
da4a18f
meson: Set va_win32 soversion to '' and remove the install_data rename
sivileri Oct 17, 2022
d1f80cb
ci: switch checkout action from @v2 to @v3
dvrogozh Oct 24, 2022
bfd6079
ci: dos2unix for windows workflow files
dvrogozh Oct 24, 2022
7afc9ae
ci: switch python action from @v2 to @v4
dvrogozh Oct 24, 2022
a690f15
meson: Check support for -Wl,-version-script and build link_args acco…
sivileri Oct 25, 2022
038f7e3
build/sysdeps: Remove HAVE_GNUC_VISIBILITY_ATTRIBUTE and use _GNUC_ s…
sivileri Oct 25, 2022
96435ff
va_trace: annotate internal functions with DLL_HIDDEN
evelikov Oct 2, 2022
391ef40
ci: use matrix, add ubuntu 20.04 + clang-15
evelikov Nov 5, 2022
2f39b9b
drm: remove unnecessary dri2 version/extension query
evelikov-work Aug 14, 2022
a885b78
ci: remove unused make check
evelikov Nov 19, 2022
552712b
ci: add meson permutation in the Ubuntu builds
evelikov Nov 19, 2022
44e597b
va: dos2unix all the files
evelikov Nov 19, 2022
96d163b
win32: clean-up the coding style
evelikov Nov 19, 2022
393e7af
ci: add style check/unify job
evelikov Nov 19, 2022
58e7f2b
va: correctly include the win32 (local) headers
evelikov Nov 22, 2022
197a2e3
meson: stop using configure_file copy=true
evelikov Nov 22, 2022
aeb704a
meson: stop using deprecated meson.source_root()
evelikov Nov 22, 2022
2ec2abc
x11: move all NVCTRL code to va_nvctrl.c
evelikov-work Jul 12, 2022
252405c
x11: move all FGLRX code to va_fglrx.c
evelikov-work Jul 12, 2022
a26852e
meson: add 'with-legacy' for emgd, nvctrl and fglrx
evelikov-work Jul 12, 2022
c1e09e2
configure: add 'with-legacy' for emgd, nvctrl and fglrx
evelikov-work Jul 12, 2022
d4f5dad
ci: style: use prettier formatting
evelikov Nov 22, 2022
894f732
ci: polish the windows/meson invocations
evelikov Nov 22, 2022
07a5f64
ci: ubuntu: add pretty(ier) step names
evelikov Nov 22, 2022
ebc1718
ci: freebsd: use meson setup and meson install
evelikov Nov 22, 2022
56fb884
ci: freebsd: add pretty(ier) step names
evelikov Nov 22, 2022
f4c355e
ci: install-clang.sh: install the requested version
evelikov Nov 22, 2022
63deed9
.cvsignore: remove the file
evelikov Nov 22, 2022
c463f8f
ci: drop paths-ignore
evelikov Dec 9, 2022
2862405
Upload a security disclaimer
daleksan Nov 28, 2022
0d971e9
Remove old security diclaimer from contributing.md file
daleksan Dec 2, 2022
74f4252
win32: Add missing null check after calloc
jenatali Dec 20, 2022
a745c98
win32: Rewrite driver registry query and fix some bugs/leaks/ineffici…
jenatali Dec 19, 2022
8d67695
win32: Simplify signature for driver name loading
jenatali Dec 20, 2022
df3c584
libva 2.17.0
XinfengZhang Dec 21, 2022
9b81529
update NEWS for 2.17.0
XinfengZhang Dec 16, 2022
e205358
va/x11: remove ANDROID references
evelikov Nov 24, 2022
d1c1aa2
va/x11: remove unused drm_sarea.h include
evelikov Nov 24, 2022
dc5c742
va: remove Android pre Jelly Bean workarounds
evelikov Nov 24, 2022
455d49a
va/sysdeps.h: remove Android section
evelikov Nov 24, 2022
45acdec
Remove reference to non-existent symbol
tamird Dec 21, 2022
b75818c
add VAProfileH264High10
Jul 18, 2022
202d0ca
Merge remote-tracking branch 'intel/v2.17-branch' into HEAD
hmtheboy154 Jan 7, 2023
2ceb10e
meson: docs: add encoder interface for av1
jangsc0000 Nov 22, 2022
e33cd91
ci: add github pages workflow
evelikov Nov 22, 2022
5388138
meson: docs: use libva_version over project_version()
evelikov Nov 22, 2022
b52c08a
Always build with va-messaging API
evelikov Nov 19, 2022
4124672
win32: Add vaDisplayIsValid to .def export list
sivileri Feb 1, 2023
c235020
win32: use wide string literal where needed
evelikov Dec 21, 2022
ce25ab6
win32: explicitly ignore CloseAdapter return value
evelikov Dec 21, 2022
c325eea
ci: enable Werror across the build
evelikov Dec 20, 2022
d05ff3c
x11: allow disabling DRI3 via LIBVA_DRI3_DISABLe env var
evelikov-work Feb 1, 2023
9ac72ef
fix: Add libva.def into distribution package
XinfengZhang Feb 7, 2023
29ac033
va_drm_utils: Map d3d12 gallium driver for Windows Subsytem for Linux
sivileri Feb 7, 2023
a0a2787
compat_win32: Add getenv wrapper for WIN32
sivileri Feb 6, 2023
0cae15f
libva 2.18.0.pre1
XinfengZhang Feb 16, 2023
c1cbcba
x11: use LIBVA_DRI3_DISABLE in GetNumCandidates
evelikov-work Feb 15, 2023
979e5d3
va: remove dummy isValid() hook
evelikov Jan 29, 2023
cb2499b
va: fix the codying style of CHECK_DISPLAY
evelikov Jan 29, 2023
0fc018a
ci: add dependabot
evelikov Dec 20, 2022
97cbc87
NULL check before calling strncmp.
Dylan-debug Feb 20, 2023
ad032fb
Add build and install libva informatio in home page.
Sherry-Lin Mar 9, 2023
0fa448d
update NEWS for libva 2.18.0
XinfengZhang Mar 19, 2023
b06ccb3
libva 2.18.0
XinfengZhang Mar 19, 2023
b31d7e4
va_trace: Add several missing fields for AV1 enc
HeJunyan Mar 23, 2023
892fcce
va_trace: Add trace for VAEncTileGroupBufferAV1
HeJunyan Mar 23, 2023
e0635f3
va_trace: Add AV1 trace for misc and packed header buffer
HeJunyan Mar 23, 2023
1862007
va_trace: Unify the HEVC va log message.
HeJunyan Mar 24, 2023
ea5ad83
va_trace: Use va_TraceMsg in va_TraceVABuffers for buffer name
HeJunyan Mar 24, 2023
9af3c1c
va_trace: Delete a extra verbose space for jpeg slice trace.
HeJunyan Mar 24, 2023
68193ff
va_trace: Add print for VAEncMiscParameterTypeTemporalLayerStructure
HeJunyan Mar 24, 2023
b4b643b
libva 2.19.0.pre1
XinfengZhang Mar 28, 2023
3aadcf0
use secure_getenv instead of getenv
XinfengZhang Mar 22, 2023
ea9b0b3
NEWS: fix year for version 2.18.0
Mar 31, 2023
de64df7
Merge tag '2.18.0' into HEAD
hmtheboy154 Apr 3, 2023
d46b383
Enable support for license acquisition of multiple protected playbacks
ankitjain88 Mar 16, 2023
4bb5f16
Add mono_chrome to VAEncSequenceParameterBufferAV1
rosetta-jpn Mar 15, 2023
1114bd2
va/win32: rely on compiler to define link names
dvrogozh May 12, 2023
4e5b910
va/win32: change default driver search path to bindir
dvrogozh May 12, 2023
01a2d0e
ci: add build docs test
dvrogozh Nov 23, 2022
e42500d
docs: fix doxygen markup
dvrogozh Nov 23, 2022
f4c4c03
docs: fix references and descriptions
dvrogozh Nov 23, 2022
68e3fc4
va: split the legacy opendriver to separate function
evelikov Jan 29, 2023
4f5a434
va: add vaGetDriverNames() internal ABI
evelikov-work Jan 29, 2023
451e18b
drm: split DisplayConnect into separate function
evelikov Jan 29, 2023
5dae76d
drm: implement vaGetDriverNames
evelikov Jan 29, 2023
399dd0c
drm: remove legacy code paths
evelikov Jan 29, 2023
ec61b4c
android: split DisplayConnect into separate function
evelikov-work Jan 29, 2023
1ee4ccf
android: implement vaGetDriverNames
evelikov-work Feb 1, 2023
9f0fbbd
android: remove legacy code paths
evelikov-work Feb 1, 2023
b991a7e
wayland: implement vaGetDriverNames
evelikov-work Feb 1, 2023
9eab446
wayland: remove legacy code paths
evelikov-work Feb 1, 2023
52f1243
win32: implement vaGetDriverNames
evelikov Jan 29, 2023
b49ed3d
win32: remove legacy code paths
evelikov Jan 29, 2023
89515cd
va/x11/va_fglrx: remove some dead code
evelikov Jan 29, 2023
d1e650b
va/x11/va_nvctrl: remove some dead code
evelikov Jan 29, 2023
a4fa218
x11: implement vaGetDriverNames
evelikov-work Feb 1, 2023
3ac96ad
x11: allow disabling DRI3 via LIBVA_DRI3_DISABLE env var
evelikov-work Feb 1, 2023
fda9052
x11: remove legacy code paths
evelikov Feb 1, 2023
f097811
drm: remove no longer used helpers
evelikov Feb 1, 2023
f3752ec
va: remove legacy code paths
evelikov Feb 1, 2023
bb9d5aa
va: Add vendor string on va_TraceInitialize
sivileri Mar 17, 2023
1c58941
win32: Only print win32 driver messages in DEBUG builds
sivileri Mar 17, 2023
f8f1c1b
va: don't leak driver names, when override is set
evelikov-work Jun 22, 2023
984dfee
va: add missing space in the env.var override info message
evelikov-work Jun 22, 2023
d12d5b1
update NEWS for 2.19.0
XinfengZhang Jul 4, 2023
807044b
libva 2.19.0
XinfengZhang Jul 4, 2023
c520bc7
Merge tag '2.19.0' into HEAD
hmtheboy154 Jul 19, 2023
9c0292d
libva 2.20.0.pre1
XinfengZhang Jul 20, 2023
97971f3
va: set driver number to be zero if vaGetDriverNames failed
XinfengZhang Jul 17, 2023
ce9898c
drm: limit the array size to avoid out of range
XinfengZhang Jul 17, 2023
53326d9
update NEWS for 2.19.0
XinfengZhang Jul 4, 2023
6087d4b
Add new VADecodeErrorType to indicate the reset happended in the driver.
pengxin99 Jun 5, 2023
c91741d
Revise offsets comments for av1 encode
leyu-yao Jul 6, 2023
c033948
Add trace for vaExportSurfaceHandle
MicroYY Jul 3, 2023
8155a20
build(deps): bump actions/deploy-pages from 1 to 2
dependabot[bot] Mar 20, 2023
23f7a41
Unlock mutex before return
MicroYY Jul 26, 2023
7d6c7d4
build(deps): bump actions/upload-pages-artifact from 1 to 2
dependabot[bot] Jul 24, 2023
b4870fd
jpeg: add support for crop and partial decode
pldrc Jun 5, 2023
4aec726
trace: fix minor issue about printf data type and value range
XinfengZhang Aug 16, 2023
faeff03
build(deps): bump actions/checkout from 3 to 4
dependabot[bot] Sep 4, 2023
11dab04
Added Q416 fourcc (three-plane 16-bit YUV 4:4:4)
thesword53 Jul 24, 2023
484f128
win32: remove duplicate adapter_luid entry
evelikov Jul 20, 2023
5b0ba8a
va/backend: annotate vafool as deprecated
evelikov Jul 20, 2023
c5d5c8d
va/backend: document the vaGetDriver* APIs
evelikov Jul 20, 2023
85088b5
x11/dri2: limit the array handling to avoid out of range access
evelikov Jul 20, 2023
b69ee1f
va: remove unreachable "DRIVER BUG"
evelikov Jul 20, 2023
1652b74
va: drop no longer applicable vaGetDriverNames check
evelikov Jul 20, 2023
6b784c7
update NEWS for 2.20.0
XinfengZhang Sep 14, 2023
907b2b5
libva 2.20.0
XinfengZhang Sep 14, 2023
805fb10
Merge remote-tracking branch 'intel/v2.20-branch' into HEAD
hmtheboy154 Dec 5, 2023
9433fbe
va_drm_utils: Bump MAX_NAMES
hmtheboy154 Dec 8, 2023
9a73456
Merge remote-tracking branch 'ag-github/11-x86' into lineage-18.1
hmtheboy154 Jan 22, 2024
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
3 changes: 0 additions & 3 deletions .cvsignore

This file was deleted.

6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
38 changes: 38 additions & 0 deletions .github/workflows/EnterDevShell.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
param(
[Parameter()]
[String]$architecture
)

function EnterDevShellEnv {

param(
[Parameter()]
[String]$arch
)

$vsw = Get-Command 'vswhere'
$VSFfavors = 'Community','Professional','Enterprise','BuildTools' | %{ "Microsoft.VisualStudio.Product.$_" }
$vs = & $vsw.Path -products $VSFfavors -latest -format json | ConvertFrom-Json
$tools_dir = Join-Path $vs.installationPath 'Common7' 'Tools'
# Try the root tools dir
$devshell = Join-Path $tools_dir 'Microsoft.VisualStudio.DevShell.dll'
# Try finding it under vsdevshell
if (!(Test-Path $devshell -Type Leaf)) {
$devshell = Join-Path $tools_dir 'vsdevshell' 'Microsoft.VisualStudio.DevShell.dll'
}
# Fail if didn't find the DevShell library
if (!(Test-Path $devshell -Type Leaf)) {
throw "error: cannot find Microsoft.VisualStudio.DevShell.dll"
}
Import-Module $devshell
Enter-VsDevShell -VsInstanceId $vs.instanceId -SkipAutomaticLocation -DevCmdArguments "-arch=$arch -no_logo"
}

# Enter VsDevShell, capture the environment difference and export it to github env
$env_before = @{}
Get-ChildItem env: | %{ $env_before.Add($_.Name, $_.Value) }
EnterDevShellEnv -arch "$architecture"
$env_after = @{}
Get-ChildItem env: | %{ $env_after.Add($_.Name, $_.Value) }
$env_diff = $env_after.GetEnumerator() | where { -not $env_before.ContainsKey($_.Name) -or $env_before[$_.Name] -ne $_.Value }
$env_diff | %{ echo "$($_.Name)=$($_.Value)" >> $env:GITHUB_ENV }
27 changes: 27 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: docs

on:
push:
paths-ignore:
- '.github/workflows/**'
- '!.github/workflows/docs.yml'
pull_request:
paths-ignore:
- '.github/workflows/**'
- '!.github/workflows/docs.yml'

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: install prerequisites
run: |
sudo apt-get update
sudo apt-get install -y \
doxygen \
libdrm-dev \
meson
- name: build the docs
run: meson setup _build -D enable_docs=true && meson compile -C _build

18 changes: 6 additions & 12 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,20 @@
name: freebsd

on:
push:
paths-ignore:
- '.github/workflows/**'
- '!.github/workflows/freebsd.yml'
pull_request:
paths-ignore:
- '.github/workflows/**'
- '!.github/workflows/freebsd.yml'
on: [push, pull_request]

jobs:
freebsd:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: test
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Install prerequisites and build'
uses: vmactions/freebsd-vm@v0
with:
prepare: |
pkg install -y meson pkgconf libdrm libXext libXfixes wayland
pkg install -y -x '^mesa($|-libs)'
run: |
meson _build
meson setup _build -D werror=true
meson compile -C _build
meson install -C _build
57 changes: 57 additions & 0 deletions .github/workflows/ghpages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Deploy Docs to GitHub

on:
release:
types: [published]

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: true

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-22.04
steps:
- name: 'Checkout'
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 'Get latest tag'
run: echo "GIT_LATEST_TAG=$(git tag | grep '^[0-9]\+\.[0-9]\+\?\.[0-9]\+\?$' | sort -V -r | head -n1)" >> $GITHUB_ENV

- name: 'Variables'
run: |
echo $GITHUB_REF_NAME
echo $GIT_LATEST_TAG

- name: 'Install prerequisites'
if: github.ref_name == env.GIT_LATEST_TAG
run: |
sudo apt-get update
sudo apt-get install -y \
libdrm-dev \
doxygen \
meson \
- name: 'Build the Docs'
if: github.ref_name == env.GIT_LATEST_TAG
run: meson setup _build -D enable_docs=true && meson compile -C _build

- name: 'Upload the artifacts'
if: github.ref_name == env.GIT_LATEST_TAG
uses: actions/upload-pages-artifact@v2
with:
path: "_build/doc/html-out"

- name: 'Deploy to GitHub Pages'
if: github.ref_name == env.GIT_LATEST_TAG
id: deployment
uses: actions/deploy-pages@v2
32 changes: 32 additions & 0 deletions .github/workflows/install-clang.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/bin/bash

set -euo pipefail

if (( $# != 1 )); then
echo Script requires one argument - the clang version to be installed
exit 1
fi

if ! which $CC >/dev/null 2>&1; then
case $DISTRO in
"ubuntu-22.04") distro_name=jammy;;
"ubuntu-20.04") distro_name=focal;;
*)
echo "Unknown distribution $DISTRO"
exit 1
esac
case $1 in
"14" | "15") llvm_version=$1;;
*)
echo "Unknown llvm version $1"
exit 1
esac

sources="deb [trusted=yes] http://apt.llvm.org/$distro_name/ llvm-toolchain-$distro_name-$llvm_version main"

echo "clang-$llvm_version missed in the image, installing from llvm"
echo "$sources" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install -y --no-install-recommends clang-$llvm_version
fi

18 changes: 18 additions & 0 deletions .github/workflows/style.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash

set -euo pipefail

modified_lines=$(git status --short -uno | wc -l)
(( modified_lines == 0 )) && exit 0

echo >&2
echo >&2 "ERROR: Style changes detected"
echo >&2

git diff

echo >&2
echo >&2 "ERROR: Squash the above changes as needed"
echo >&2

exit 1
18 changes: 18 additions & 0 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: style

on: [push, pull_request]

jobs:
style-check:
runs-on: ubuntu-22.04
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Install prerequisites'
run: |
sudo apt-get update
sudo apt-get install -y \
astyle
- name: 'Check for style changes'
run: ./style_unify && .github/workflows/style.sh

117 changes: 37 additions & 80 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,102 +1,59 @@
name: ubuntu

on:
push:
paths-ignore:
- '.github/workflows/**'
- '!.github/workflows/ubuntu.yml'
pull_request:
paths-ignore:
- '.github/workflows/**'
- '!.github/workflows/ubuntu.yml'
on: [push, pull_request]

env:
CFLAGS: -Wall -Werror

jobs:
clang-15:
runs-on: ubuntu-22.04
test:
strategy:
matrix:
compiler: [clang-15, gcc]
os: [ubuntu-22.04, ubuntu-20.04]
build: [meson, autotools]
runs-on: ${{ matrix.os }}
env:
CC: /usr/bin/clang-15
CXX: /usr/bin/clang++-15
ASM: /usr/bin/clang-15
CC: ${{ matrix.compiler }}
DISTRO: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: install toolchain
run: |
if [[ -e $CC && -e $CXX ]]; then \
echo "clang-15 already presents in the image"; \
else \
echo "clang-15 missed in the image, installing from llvm"; \
echo "deb [trusted=yes] http://apt.llvm.org/jammy/ llvm-toolchain-jammy-15 main" | sudo tee -a /etc/apt/sources.list; \
sudo apt-get update; \
sudo apt-get install -y --no-install-recommends clang-15; \
fi
- name: install prerequisites
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Install toolchain'
if: ${{ (matrix.compiler == 'clang-15') }}
run: .github/workflows/install-clang.sh 15
- name: 'Install prerequisites'
run: |
sudo apt-get update
sudo apt-get install -y \
libdrm-dev \
libegl1-mesa-dev \
libgl1-mesa-dev \
libx11-dev \
libx11-xcb-dev \
libxcb-dri3-dev \
libxext-dev \
libxfixes-dev \
libwayland-dev
- name: configure
run: ./autogen.sh --prefix=/usr
- name: build
run: make
- name: check
run: make check
- name: install
run: sudo make install
libwayland-dev \
meson
- name: 'Print compiler version'
run: ${{ matrix.compiler }} --version
- name: 'Configure (meson)'
if: ${{ (matrix.build == 'meson') }}
run: meson setup ./builddir --prefix=/usr
- name: 'Build (meson)'
if: ${{ (matrix.build == 'meson') }}
run: meson compile -C ./builddir || ninja -C ./builddir
- name: 'Install (meson)'
if: ${{ (matrix.build == 'meson') }}
run: sudo meson install -C ./builddir

ubuntu-22-04:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: install prerequisites
run: |
sudo apt-get update
sudo apt-get install -y \
libdrm-dev \
libegl1-mesa-dev \
libgl1-mesa-dev \
libx11-dev \
libxext-dev \
libxfixes-dev \
libwayland-dev
- name: configure
- name: 'Configure (autotools)'
if: ${{ (matrix.build == 'autotools') }}
run: ./autogen.sh --prefix=/usr
- name: build
- name: 'Build (autotools)'
if: ${{ (matrix.build == 'autotools') }}
run: make
- name: check
run: make check
- name: install
- name: 'Build and Install (autotools)'
if: ${{ (matrix.build == 'autotools') }}
run: sudo make install

ubuntu-20-04:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: install prerequisites
run: |
sudo apt-get update
sudo apt-get install -y \
libdrm-dev \
libegl1-mesa-dev \
libgl1-mesa-dev \
libx11-dev \
libxext-dev \
libxfixes-dev \
libwayland-dev
- name: configure
run: ./autogen.sh --prefix=/usr
- name: build
run: make
- name: check
run: make check
- name: install
run: sudo make install

Loading