[
https://issues.apache.org/jira/browse/QPID-8516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17709858#comment-17709858
]
ASF subversion and git services commented on QPID-8516:
-------------------------------------------------------
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.
> Python excerpts in CMakeFiles are python2
> -----------------------------------------
>
> Key: QPID-8516
> URL: https://issues.apache.org/jira/browse/QPID-8516
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: qpid-cpp-1.39.0
> Reporter: Chris Richardson
> Priority: Major
> Fix For: qpid-cpp-1.40.0
>
>
> CMake fails on python3-only systems with
> {quote}-- Found PythonInterp: /usr/bin/python (found suitable version
> "3.8.8", minimum required is "2.7")
> -- Found PythonInterp: /usr/bin/python (found version "3.8.8")
> File "<string>", line 1
> from distutils.sysconfig import get_python_lib; print get_python_lib(False,
> prefix='/usr/local').replace('\\', '/')
> ^
> SyntaxError: invalid syntax
> CMake Error at managementgen/CMakeLists.txt:34 (install):
> install DIRECTORY given no DESTINATION!
> {quote}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]