Merge pull request #504 from gummif/gfa/actions-old-gcc

CI for older gcc versions
This commit is contained in:
Gudmundur Adalsteinsson 2021-07-13 22:58:59 +00:00 committed by GitHub
commit 62f6c5c16d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 2 deletions

View File

@ -23,6 +23,24 @@ jobs:
drafts: "OFF"
libzmq: "4.2.0"
libzmqbuild: "pkgconfig"
# gcc 4.8
- os: "ubuntu-18.04"
cppstd: "11"
cc: "gcc-4.8"
cxx: "g++-4.8"
drafts: "ON"
libzmq: "4.3.4"
libzmqbuild: "cmake"
aptinstall: "gcc-4.8 g++-4.8"
# gcc 5
- os: "ubuntu-18.04"
cppstd: "11"
cc: "gcc-5"
cxx: "g++-5"
drafts: "ON"
libzmq: "4.3.4"
libzmqbuild: "cmake"
aptinstall: "gcc-5 g++-5"
# without draft
- os: "ubuntu-latest"
cppstd: "20"
@ -51,6 +69,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: install_deps
if: matrix.aptinstall
run: sudo apt install ${{matrix.aptinstall}}
- name: get_libzmq
run: |
curl -L https://github.com/zeromq/libzmq/archive/v${{ matrix.libzmq }}.tar.gz \

View File

@ -2,7 +2,7 @@
#include "testutil.hpp"
#if defined(ZMQ_CPP11) && defined(ZMQ_BUILD_DRAFT_API)
#if defined(ZMQ_CPP11) && !defined(ZMQ_CPP11_PARTIAL) && defined(ZMQ_BUILD_DRAFT_API)
#include <array>
#include <memory>

View File

@ -1,6 +1,6 @@
#include "testutil.hpp"
#if defined(ZMQ_BUILD_DRAFT_API) && defined(ZMQ_CPP11) && defined(ZMQ_HAVE_POLLER)
#if defined(ZMQ_BUILD_DRAFT_API) && defined(ZMQ_CPP11) && !defined(ZMQ_CPP11_PARTIAL) && defined(ZMQ_HAVE_POLLER)
#include <array>
#include <memory>