mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-01-06 00:31:14 +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"
|
drafts: "OFF"
|
||||||
libzmq: "4.2.0"
|
libzmq: "4.2.0"
|
||||||
libzmqbuild: "pkgconfig"
|
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
|
# without draft
|
||||||
- os: "ubuntu-latest"
|
- os: "ubuntu-latest"
|
||||||
cppstd: "20"
|
cppstd: "20"
|
||||||
@ -51,6 +69,11 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: install_deps
|
||||||
|
if: matrix.aptinstall
|
||||||
|
run: sudo apt install ${{matrix.aptinstall}}
|
||||||
|
|
||||||
- name: get_libzmq
|
- name: get_libzmq
|
||||||
run: |
|
run: |
|
||||||
curl -L https://github.com/zeromq/libzmq/archive/v${{ matrix.libzmq }}.tar.gz \
|
curl -L https://github.com/zeromq/libzmq/archive/v${{ matrix.libzmq }}.tar.gz \
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "testutil.hpp"
|
#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 <array>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "testutil.hpp"
|
#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 <array>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
Loading…
Reference in New Issue
Block a user