Skip to content

Commit

Permalink
AppImage: use latest libva release instead of current git
Browse files Browse the repository at this point in the history
  • Loading branch information
gschintgen committed Apr 25, 2024
1 parent 888ddb8 commit 2717b25
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ jobs:
# allow newer gcc
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
# libx11-xcb-dev and libxcb-dri3-dev are required for building libva
sudo apt-get install -y \
build-essential \
cmake \
Expand Down Expand Up @@ -378,15 +379,17 @@ jobs:
python-version: '3.11'

- name: Build latest libva
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
timeout-minutes: 5
run: |
echo "nproc: $(nproc)"
git clone https://github.com/intel/libva.git
cd libva
gh release download --archive=tar.gz --repo=intel/libva
tar xzf libva-*.tar.gz && rm libva-*.tar.gz
cd libva-*
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-x11 --without-legacy
make -j $(expr $(nproc) - 1) # use all but one core
make
sudo make install
cd .. && rm -rf libva-*
- name: Build Linux
env:
Expand Down

0 comments on commit 2717b25

Please sign in to comment.