Fixed build with -std=c++20 #436
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ubuntu | |
| on: | |
| push: | |
| paths-ignore: | |
| - '.github/workflows/**' | |
| - '!.github/workflows/ubuntu.yml' | |
| pull_request: | |
| paths-ignore: | |
| - '.github/workflows/**' | |
| - '!.github/workflows/ubuntu.yml' | |
| permissions: read-all | |
| jobs: | |
| ubuntu-24-04: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: checkout libva | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: intel/libva | |
| path: libva | |
| - name: checkout libva-utils | |
| uses: actions/checkout@v4 | |
| 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 |