348 Commits

Author SHA1 Message Date
Andrey Semashev
a5200c5211 Remove NDEBUG for tests.
A great deal of checks in tests are performed using asserts, which
get stripped in release builds, when NDEBUG is defined. To facilitate
testing release builds, undefine NDEBUG for all tests.

Refs https://github.com/resiprocate/resiprocate/issues/423.
2025-09-05 20:59:32 +03:00
Scott Godin
122d37cae0 Fix Linux CI (#419)
Fix Linux CI

- bullseye-backports has officially been removed, so we can not get a newer version of CMake from it
- originally tried moving to debian-bookworm, however libcajun-dev, libsipxtapi-dev and libnetxx-dev are not available in bookworm and more work is needed to fix this
- instead continue with debian-bullseye but upgrade cmake by manually installing via new bash script
2025-08-08 16:39:32 -04:00
Scott Godin
f3099424fc Allow contrib/Netxx to be manually built/installed in linux and be picked up by Cmake 2025-01-15 16:04:38 -05:00
Gregor Jasny
bddcc6f05e build(netxx): fix CMake FPHSA argument casing 2024-12-20 10:43:49 +01:00
Gregor Jasny
f98e21333e ci: fix oss-fuzz build 2024-12-20 10:05:29 +01:00
Gregor Jasny
c763c90c98 fixup! ci: fix oss-fuzz build 2024-12-07 18:11:40 +01:00
Gregor Jasny
5c463f74e5 ci: fix oss-fuzz build 2024-12-07 17:48:08 +01:00
Scott Godin
5212341457 Cmake improvements (#387)
- Get windows / Visual Studio cmake build working correctly (both Ninja and solution and vcxproj creation)
- Add post build step for visual studio solutions to copy appropriate OpenSSL and BerkelyDb DLL's to build output so programs can be run and debugged directly
- Get TFM to build, including NetXX and CppUnit biulds
- Enable TFM and TFM tests in GitHub CI / Actions
- Fix and enable a few unit tests
- Re-generate TFM repro certs that had expired
- Add DialogInfoSubClient to cmake
- Address a few compiler warnings
- Fix issue with testTransportSelector when running on windows
- Fix tfm repro tests that were expecting a 480 to be forwarded from a 503 response.  Code was recently changed in repro to send a 500 instead as recommended by RFC3261
- Cleanup CMake Visual Studio folder specifications
- Copy files needed for RFC4475TortureTests and enable it
- Use Cajun from contrib since package is not easy to find
2024-12-03 17:24:10 -05:00
Scott Godin
33e36c4c2b -fix configure variable typo
-disable failing recon unit tests from travis CI
2024-07-31 16:44:20 -04:00
Gregor Jasny
0297400f36 build: set test timeout to 5 minutes
This will kill the tests and ctest will print the test output up
to the point where it hung.
2023-03-02 08:01:41 +01:00
Ben Walden
21e5a003a8 Fix CI to actually compile using Clang and run bugprone Clang-Tidy checks 2023-01-11 11:55:35 +00:00
Daniel Pocock
a4f14eccf7 ci: disable Kurento 2023-01-03 18:01:05 +01:00
Daniel Pocock
7ea39cb5ac ci: enable USE_NETSNMP 2023-01-03 18:00:47 +01:00
Gregor Jasny
9e84cc44b9 build: fix fuzzing targets 2022-12-18 15:14:54 +01:00
Daniel Pocock
2af6f5c9b8 ci: disable building recon and reconserver until dependencies are available 2022-12-16 17:20:41 +01:00
Daniel Pocock
be564f9458 ci: only build recon with sipXtapi support 2022-12-16 17:09:27 +01:00
Daniel Pocock
ac33813f4c ci: only build recon with Kurento support 2022-12-16 17:01:59 +01:00
Daniel Pocock
508bd46edb ci: CMake: disable fmt 2022-12-16 16:49:54 +01:00
Daniel Pocock
f9741ab112 ci: CMake: disable ENABLE_LOG_REPOSITORY_DETAILS 2022-12-16 16:43:16 +01:00
Daniel Pocock
93e3f4c5e4 ci: regenerate media samples on each build 2022-12-16 16:39:23 +01:00
Daniel Pocock
e619bd0450 ci: disable SNMP - the package config file netsnmp-agent.pc is missing on the build host 2022-12-16 16:27:46 +01:00
Daniel Pocock
94c3584690 ci: update for CMake build system 2022-12-16 16:19:09 +01:00
Daniel Pocock
5560b541ea ci: update for CMake build system 2022-12-16 16:10:32 +01:00
Daniel Pocock
e571697c05 build: CMake: CMake wrappers, hack for unit tests, complete most targets and dependencies 2022-12-05 17:05:31 +01:00
Daniel Pocock
ce052e9dd0 build: CMake: resolve Visual Studio building core libraries and repro 2022-11-29 12:21:54 +01:00
Daniel Pocock
2a820c5f4d Merge branch 'b-dpocock-vstudio-compare-cmake' into b-dpocock-cmake-vstudio 2022-11-25 14:27:17 +01:00
Daniel Pocock
c8623d8890 rutil/dns/ares: fixes for ares_nameser.h portability 2022-11-25 14:24:39 +01:00
Daniel Pocock
e120b8a121 build: CMake: completing builds with Fedora rpmbuild and Android ndkports. Update for latest autotools branch changes 2022-11-18 16:51:32 +01:00
Daniel Pocock
c7f83a9d95 Merge branch 'b-dpocock-autotools-compare-cmake' into b-dpocock-cmake 2022-11-18 16:46:42 +01:00
Daniel Pocock
1c161164c3 build: update Fedora spec file, docs, out-of-tree compile fixes, misc tidy up 2022-11-18 16:45:33 +01:00
Daniel Pocock
05964544f2 build: CMake: release process fixes, update release script, misc fixes, RPM spec file 2022-11-10 16:48:27 +01:00
Daniel Pocock
5b2eb42a43 Merge branch 'b-dpocock-autotools-compare-cmake' into b-dpocock-cmake 2022-11-09 10:25:02 +01:00
Daniel Pocock
11cd5723ba Merge branch 'master' into b-dpocock-autotools-compare-cmake 2022-11-09 10:08:17 +01:00
Gregor Jasny
dacb64c33b ci: always build python modules with PIC 2022-11-08 11:39:11 +01:00
Gregor Jasny
8973452f62 ci: strip down configured features on Debian Buster 2022-11-08 10:57:25 +01:00
Daniel Pocock
ca3ea84e43 build: autotools: autodetect PYCXX_SRCDIR 2022-11-01 18:21:50 +01:00
Daniel Pocock
94017ff7f1 build: CMake: autodetect PYCXX_SRCDIR, add option USE_CONTRIB to improve flexibility on Windows, sipXtapi finder logic, misc fixes 2022-11-01 17:46:37 +01:00
Daniel Pocock
3dcf949a6d Merge branch 'b-dpocock-autotools-compare-cmake' into b-dpocock-cmake 2022-11-01 16:53:12 +01:00
Daniel Pocock
c05b535809 build: CMake: expand configure option logic, library names, install logic, typos 2022-10-28 15:09:55 +02:00
Daniel Pocock
ae281916f3 build: debian.sh: synchronize with flags on CMake branch 2022-10-26 11:35:22 +02:00
Daniel Pocock
544028d927 Merge branch 'b-dpocock-opensigcomp' into b-dpocock-cmake 2022-10-24 10:21:05 +02:00
Daniel Pocock
590f60fff0 resip/stack: bring OpenSigComp-specific code up to date 2022-10-21 14:12:49 +02:00
Daniel Pocock
eb1760729c build: CMake: adapt flags and related logic from configure.ac, implement logic for sources created during a build 2022-10-14 16:35:51 +02:00
Daniel Pocock
9bbc06eb1c Merge branch 'master' into b-dpocock-cmake 2022-10-11 11:52:37 +02:00
Daniel Pocock
42d58e9303 Merge branch 'master' into b-dpocock-dso-python 2022-10-10 10:31:41 +02:00
Daniel Pocock
536f326b86 build: extend the CMake build to build all libraries, all binaries and unit tests, many small tweaks 2022-10-07 17:45:04 +02:00
Daniel Pocock
0eaa798621 Merge branch 'master' into b-dpocock-cmake 2022-10-07 17:39:13 +02:00
Daniel Pocock
54fe72ee15 ci: add missing dependencies, enable Kurento client 2022-10-07 17:32:26 +02:00
Daniel Pocock
7830df2417 rutil: add generalized DSO plugin and Python plugin APIs, unit tests, for use in reConServer 2022-09-16 17:48:26 +02:00
okhowang(王沛文)
908475a08f Merge remote-tracking branch 'origin/master' into cmake 2022-08-23 15:31:25 +08:00