mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-12 18:40:28 +01:00
Merge pull request #504 from gummif/gfa/actions-old-gcc
CI for older gcc versions
This commit is contained in:
commit
62f6c5c16d
23
.github/workflows/linux.yml
vendored
23
.github/workflows/linux.yml
vendored
@ -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 \
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user