diff options
author | John Levon <john.levon@nutanix.com> | 2021-01-22 16:22:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 16:22:37 +0000 |
commit | 3ef37e91080fd08caa2d7228533d3d430c695b97 (patch) | |
tree | 4ce3c8902fd334189210cd1d1af3acede917fab7 /.github | |
parent | e899af8f842c9ba2d48fb44b507e90187f2fab47 (diff) | |
download | libvfio-user-3ef37e91080fd08caa2d7228533d3d430c695b97.zip libvfio-user-3ef37e91080fd08caa2d7228533d3d430c695b97.tar.gz libvfio-user-3ef37e91080fd08caa2d7228533d3d430c695b97.tar.bz2 |
fix compilation on newer GCC versions (#241)
A newer GCC caught that in test_dma_controller_add_region_no_fd(), we were not
allocating enough stack space for the region at the end of the dma_controller_t.
Also add Fedora Rawhide to github CI for this.
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/settings.yml | 1 | ||||
-rw-r--r-- | .github/workflows/pull_request.yml | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/.github/settings.yml b/.github/settings.yml index bf9bf0d..bf88e17 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -107,6 +107,7 @@ branches: - centos-7 - ubuntu-18 - ubuntu-20 + - fedora-rawhide # Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable. enforce_admins: true # Required. Restrict who can push to this branch. Team and user restrictions are only available for organization-owned repositories. Set to null to disable. diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 024a77c..62df0f6 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -27,3 +27,13 @@ jobs: yum -y install make gcc-4.8.5 epel-release pciutils yum -y install clang cmake json-c-devel libcmocka-devel openssl-devel make pre-push VERBOSE=1 + fedora-rawhide: + runs-on: ubuntu-latest + container: fedora:rawhide + steps: + - uses: actions/checkout@v2 + - name: pre-push + run: | + yum -y install gcc make clang cmake json-c-devel libcmocka-devel \ + openssl-devel pciutils diffutils + make pre-push VERBOSE=1 |