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 29, 2024
1 parent 6de68a8 commit 1d79214
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 @@ -326,6 +326,7 @@ jobs:
# allow libfuse2 for appimage on 22.04
sudo add-apt-repository universe
# libx11-xcb-dev and libxcb-dri3-dev are required for building libva
sudo apt-get install -y \
build-essential \
cmake \
Expand Down Expand Up @@ -382,15 +383,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 -j $(nproc)
sudo make install
cd .. && rm -rf libva-*
- name: Build Linux
env:
Expand Down

0 comments on commit 1d79214

Please sign in to comment.