pci: fail FLR when reset callback is missing #1831
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: pull_request | |
| on: pull_request | |
| jobs: | |
| ubuntu-22: | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: pre-push | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install libjson-c-dev libcmocka-dev clang \ | |
| clang-tools valgrind python3-pytest debianutils flake8 meson \ | |
| ninja-build | |
| make pre-push | |
| centos-7: | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| container: centos:7 | |
| steps: | |
| - name: pre-push | |
| run: | | |
| # Sigh. | |
| sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo | |
| sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo | |
| sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo | |
| # Avoid https://github.com/actions/checkout/issues/1590 | |
| curl -L -o libvfio-user.tar.gz https://github.com/${GITHUB_REPOSITORY}/archive/${GITHUB_SHA}.tar.gz | |
| tar xvf libvfio-user.tar.gz | |
| cd libvfio-user-${GITHUB_SHA} | |
| # NB: no working flake8 | |
| yum -y install make gcc-4.8.5 epel-release pciutils | |
| yum -y install clang clang-analyzer json-c-devel libcmocka-devel \ | |
| valgrind python36-pytest which ninja-build meson | |
| make pre-push | |
| fedora-35: | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| container: fedora:35 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: pre-push | |
| run: | | |
| dnf -y install --releasever=35 \ | |
| gcc make clang clang-analyzer json-c-devel libcmocka-devel pciutils \ | |
| diffutils valgrind python3-pytest python3-flake8 which \ | |
| meson ninja-build | |
| make pre-push | |
| debian-11: | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| container: debian:11 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: pre-push | |
| run: | | |
| apt-get update | |
| apt-get -y install build-essential cmake pkg-config libjson-c-dev \ | |
| libcmocka-dev clang clang-tools valgrind python3-pytest \ | |
| debianutils flake8 meson ninja-build | |
| make pre-push | |
| debian-12: | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-22.04 | |
| container: debian:12 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: pre-push | |
| run: | | |
| apt-get update | |
| apt-get -y install build-essential cmake pkg-config libjson-c-dev \ | |
| libcmocka-dev clang clang-tools valgrind python3-pytest \ | |
| debianutils flake8 meson ninja-build | |
| make pre-push | |
| spelling: | |
| runs-on: ubuntu-latest | |
| container: debian:13 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install misspell-fixer | |
| run: | | |
| apt-get update | |
| apt-get install -y git | |
| git clone https://github.com/vlajos/misspell-fixer.git /misspell-fixer | |
| - name: run misspell-fixer | |
| run: /misspell-fixer/misspell-fixer -sv . |