From 2717b25822fa2789f8750b43eae6b314aac5df30 Mon Sep 17 00:00:00 2001 From: Gilles Schintgen Date: Thu, 25 Apr 2024 12:13:48 +0200 Subject: [PATCH] AppImage: use latest libva release instead of current git --- .github/workflows/CI.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f6fae58a2b0..8b2e3057c30 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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 \ @@ -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: