[ 
https://issues.apache.org/jira/browse/QPID-8610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17709857#comment-17709857
 ] 

ASF subversion and git services commented on QPID-8610:
-------------------------------------------------------

Commit da9e2200f0e6b0e7e04ed41a015051341b3502f8 in qpid-cpp's branch 
refs/heads/main from Jiri Daněk
[ https://gitbox.apache.org/repos/asf?p=qpid-cpp.git;h=da9e2200f ]

QPID-8610: add GitHub Actions workflow to build project and run ctest (#34)

Github Actions don't run on the PR, so I am monitoring it on my fork, 
https://github.com/jiridanek/qpid-cpp/actions/runs/4644235028

Using Focal (`runs-on: ubuntu-20.04`) for now, as it has the old requirements 
we need. Travis used to run Xenial, that worked even better, without 
workarounds for swig and ruby.

Python 2.7 is required 
([QPID-8516](https://issues.apache.org/jira/browse/QPID-8516), 
[QPID-4982](https://issues.apache.org/jira/browse/QPID-4982), 
[QPID-8517](https://issues.apache.org/jira/browse/QPID-8517))

Linux environment requires swig3.0 and ruby2.6 to compile and work 
([QPID-8606](https://issues.apache.org/jira/browse/QPID-8606), 
https://github.com/swig/swig/issues/1689)

The vcpkg version of Boost requires some changes to how dependencies are 
linked. What's in the PR now works on both Appveyor and Github Actions.

Caching is very important. Both installing boost with vcpkg on Windows and 
compiling the broker code takes a lot of time without cache. With cache, vcpkg 
is nearly instantaneous and broker compile takes only a few minutes on Linux, 
and few more on Windows. When using sccache, make or ninja CMake generators 
have to be used. MSBuild is not supported for `-DCMAKE_C_COMPILER_LAUNCHER` 
CMake option. This can be workarounded in the future by the usual trick of 
renaming `sccache.exe` to `cl.exe`.

Tests run very long. I am afraid to run them in parallel as part of this PR. I 
want to leave that for later. But it is going to be necessary, because the CI 
just takes way too much time otherwise.

Broker tests don't run on Windows and AFAIK they did not run there for a very 
long time.

> [qpid-cpp] Travis CI uses Xenial, this Ubuntu release is way too ancient
> ------------------------------------------------------------------------
>
>                 Key: QPID-8610
>                 URL: https://issues.apache.org/jira/browse/QPID-8610
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Build
>    Affects Versions: qpid-cpp-1.40.0
>            Reporter: Jiri Daněk
>            Priority: Major
>
> Travis CI is actually exceptional in that it still supports this Ubuntu 
> release. Github Actions ended support last year, 
> https://github.com/actions/runner-images/issues/3287
> The Ubuntu version should be upgraded. Beware that some new Valgrind issues 
> appear on Ubuntu Focal. These should be either resolved directly, or 
> suppressed and JIRA'd.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to