Commit Graph

22 Commits

Author SHA1 Message Date
iphydf
0a2190f28c
feat: Add binary packing functions for tox events. 2022-02-07 02:43:24 +00:00
Robin Linden
11c9c05213
Don't ignore build/test failures in Appveyor 2022-01-10 02:27:12 +01:00
iphydf
74bc87f277
test: Make ERROR logging fatal in tests.
This doesn't currently work, because we get a lot of errors during tests.
This should not happen. Either those errors are warnings, or something is
wrong with either the code or the test.
2021-12-14 13:00:25 +00:00
Robin Linden
485fe88253
Get Appveyor and Cirrus CI to pass again
* Fix Appveyor CI build

The problem was that when running commands in powershell, any stderr
output is treated as an "exception", stopping the build even if the exit
code of the command was good.

* Add workarounds to get Cirrus CI to pass

Removing the cache isn't great, but the build is still only 5-7 minues,
so it's not terrible either.

Disabling the tcp_relay test also sucks. It passes locally, so we're
likely getting caught in a firewall or something like it somewhere.
2021-09-17 23:43:09 +02:00
Alexandre Petitjean
c9ad4a2e39
Enable c-toxcore conan packaging 2021-04-11 15:56:02 +02:00
Robin Linden
470fa79f92
Fix AppVeyor failing due to conan remote being added twice 2020-06-12 11:25:55 +02:00
Robin Linden
56992b099e
Add support for the conan C/C++ package manager
* Don't overwrite the CMAKE_MODULE_PATH
* Allow linking libsodium statically with MSVC
* Allow finding libsodium the normal way on MSVC
* Allow using pthreads4w for pthreads on MSVC
* Fall back to find_package if pkg_find_module fails
* Don't pass incompatible compile flags to MSVC
* Also try to find Opus and libvpx using their canonical names
* Support building using conan
* Allow pkg_use_module to take a list of libraries to look for
* Build for Windows on Appveyor using conan
2020-05-29 15:36:26 +02:00
zugz (tox)
08e6a1863e
bump libsodium version in appveyor.yml and windows Dockerfile 2019-11-17 13:40:34 +01:00
chrono
17a7bf3fd2
Add AUTOTEST Option to CMakeLists.txt 2018-10-07 22:09:54 +00:00
iphydf
bfd288c196
Revert "Improve cmake build for MSVC."
This reverts commit f87f8719d0.
2018-09-24 22:25:49 +00:00
iphydf
8bb5be3525
Run tests on Appveyor (Windows native build).
We ignore the errors for now.
2018-09-23 00:17:06 +00:00
Mick Sayson
f87f8719d0
Improve cmake build for MSVC. 2018-09-22 11:14:45 +00:00
iphydf
2abc00693c
Format yaml files according to yamllint's requirements.
Also remove branch filter for appveyor. We only have a single branch in
every repository. Development happens in forks.
2018-09-16 14:47:23 +00:00
iphydf
be797d4b03
Move system header includes from network.h to network.c 2018-05-20 15:42:42 +00:00
Robin Lindén
0647c2c5bc
Look for dependencies in third_party/ 2018-02-11 13:45:52 +01:00
iphydf
6cd4fcdec4
Remove libcheck from the dependencies.
We're not gaining much from this library, and it's a burden, especially
for windows development.
2018-02-09 20:51:39 +00:00
iphydf
cb69b8a986
Build tests on appveyor, the MSVC build.
Tests are not actually ran on appveyor for now, since they all fault for
some reason. For now, we just build them. Also, some tests are disabled
on msvc entirely, because they don't even compile. We'll need to look
into those, later. They are disabled using `MSVC_DONT_BUILD`.
2017-06-05 13:45:20 +00:00
Carsten Brandt
a1f9df48d6
make BUILD_TOXAV and option and fail if dependencies are missing
fixes #482
2017-03-25 17:22:16 +01:00
iphydf
63df16728c
Fix appveyor script: install curl.
It should exist according to
https://www.appveyor.com/docs/how-to/download-file/, but in reality it
doesn't, so we install it manually.
2017-03-25 15:56:45 +00:00
Maxim Biro
227b436339 Fix pthreads in AppVeyor build 2017-02-20 06:55:36 -05:00
iphydf
6ae33c16cf
Add VLA compatibility macro for C89-ish compilers. 2017-01-28 20:49:12 +00:00
iphydf
ce0bf232d1
Add appveyor build for native windows tests.
It doesn't compile, yet. A few changes (like VLA support) need to be made
before we can enable appveyor as a required PR check.
2017-01-22 11:56:02 +00:00