1
0
mirror of https://github.com/nlohmann/json synced 2024-11-25 13:20:05 +00:00
Commit Graph

60 Commits

Author SHA1 Message Date
Niels Lohmann
325e8ab8ab
🔧 explicitly switch on tests in CI 2020-05-27 13:22:14 +02:00
Niels Lohmann
e7a88b2d7f
💚 fix AppVeyor and Travis builds 2020-05-03 19:33:01 +02:00
Thomas Braun
5607dfb48a appveyor.yml: Compile and test with latest version for __cplusplus macro on MSVC
According to [1] the C++ macro __cplusplus has always the value 199711L
even if you enable later version of C++ support via /std.

Use one job with /Zc:__cplusplus defined so that we know that it
compiles.

[1]: https://docs.microsoft.com/en-us/cpp/build/reference/zc-cplusplus?view=vs-2019
2020-04-06 11:56:33 +02:00
Thomas Braun
c6cbdf96a9 appveyor.yml: Add debug build on x64 and VS 2019 2019-10-16 22:34:33 +02:00
Thomas Braun
01e486bb55 appveyor.yml: Add MSVC 16 2019 support 2019-10-16 22:34:33 +02:00
Thomas Braun
7a521150aa appveyor: Pass the generator platform explicitly
In a future commit we want to add support for MSVC 2019. For that
version cmake requires us to pass in the architecture not part of the
generator but explicitly.

So let's pass that in always like that. This also removes the doubling
of the platform/architecture.
2019-10-16 17:10:19 +02:00
Isaac Nickaein
5b2e2305a0 CI: Skip test-unit_all on MSVC Debug builds 2019-06-24 21:21:58 +04:30
Isaac Nickaein
0a137b78ac Appveyor: Set timeout of unit-tests in appveyor.yml instead of CMake 2019-06-22 22:14:40 +04:30
Isaac Nickaein
f559142008 Appveyor: Set build mode explicitly 2019-06-22 21:15:17 +04:30
Isaac Nickaein
d28b4b900e Add a separate build with Windows.h included 2019-06-22 21:15:07 +04:30
Isaac Nickaein
ec43d27f9f Add Debug builds for AppVeyor 2019-06-22 21:14:51 +04:30
Isaac Nickaein
f16432832c
Increase stack size for VS2017 Win x64 on Appveyor 2019-01-12 19:27:26 +03:30
Isaac Nickaein
2c0c2ca698 Specify target platform in generator name 2019-01-05 14:15:33 -08:00
Niels Lohmann
09c0df4a21
👷 choosing correct image 2018-06-24 17:40:16 +02:00
Niels Lohmann
1bbc4a0859
👷 using Ninja to speed up build 2018-06-24 17:10:13 +02:00
Niels Lohmann
e59b930927
👷 trying a more recent compiler 2018-06-24 16:40:47 +02:00
Niels Lohmann
937d68e2e5
👷 forgot old PATH 2018-06-24 16:37:02 +02:00
Niels Lohmann
989ad9b759
👷 using help from https://stackoverflow.com/a/48509334/266378 2018-06-24 16:35:16 +02:00
Niels Lohmann
067e288289
👷 set build type 2018-06-24 16:29:03 +02:00
Niels Lohmann
7bbc06b487
👷 forgot quotes 2018-06-24 16:18:44 +02:00
Niels Lohmann
441e5d87e6
👷 experimenting with AppVeyor and MinGW 2018-06-24 16:17:06 +02:00
Niels Lohmann
c8bfdfd961
👷 tryping different platforms for AppVeyor 2018-06-23 11:12:32 +02:00
Niels Lohmann
73d1b55aba
🔧 executing tests in parallel 2017-10-05 19:43:39 +02:00
Niels Lohmann
737816d0cd
👷 another try with Travis 2017-09-14 17:31:14 +02:00
Niels Lohmann
5c08b84dec
back to previous MSVC 2017 2017-09-06 18:26:52 +02:00
Niels Lohmann
da14286abb
👷 try to use MSVC 2017 again 2017-09-06 18:13:35 +02:00
Niels Lohmann
e569b9736b
👷 trying to fix build error
See http://help.appveyor.com/discussions/problems/7450-build-error-on-vs-2017-image-suddenly.
2017-08-21 17:31:14 +02:00
Niels Lohmann
c40c8ac92e
👷 excluding MSVC 2015 with "/permissive- /std:c++latest /utf-8" 2017-04-09 12:00:30 +02:00
Niels Lohmann
a9f4094580
👷 another try 2017-04-09 11:47:31 +02:00
Niels Lohmann
180d249f6c
👷 another try 2017-04-09 11:38:42 +02:00
Niels Lohmann
d3d87674c8
👷 fixed AppVeyor syntax 2017-04-09 11:00:39 +02:00
Niels Lohmann
9d9c5216d7
👷 additional flags for MSVC #464
To test a fix for issue #464 (not yet implemented), we first need to
have  an MSVC build with “/permissive- /std:c++latest /utf-8”.
2017-04-09 10:59:45 +02:00
Niels Lohmann
d4e49873b7
👷 experimenting with configurations 2017-04-08 21:56:42 +02:00
Vladimir Petrigo
8edb0cd15c Add VS17 image to appveyor matrix 2017-03-25 14:57:58 +03:00
Niels Lohmann
b04543ecc5
🎨 fixed newlines 2017-02-20 21:56:10 +01:00
Robert Marki
639d63217e Define CMake/CTest tests
Instead of copying the test executable and the JSON files used by
the tests at install time, define CMake/CTest tests for running
the json_unit executable from any build directory with the project's
source directory as its working directory.

- call enable_testing in the main lists file to allow the definition
of tests
- remove install commands from the test directory's lists file
- define two tests
  - json_unit_default for running the default tests by executing
json_unit without any arguments
  - json_unit_all for running all the tests by executing json_unit
with the "*" argument
- update the AppVeyor configuration file to use the new testing method
2016-05-18 11:53:49 +02:00
Chris Kitching
0e2f0c4edc
Repair appveyor... Horrifyingly
It's sort of gnarly that it's still doing in-tree builds, but I
really, _really_ don't want to get any more friendly with CMake's
Visual Studio generator to work out how to make it stop doing it.

In-tree builds still work, after all, and the goal of this work is
to make out-of-tree builds work as well. Notional horrors like
this will have to wait ;)
2016-05-11 14:02:53 +01:00
Niels
941c84e17d debugging 2015-08-14 15:30:06 +02:00
Niels
3c8c2766c1 debugging 2015-08-14 15:20:50 +02:00
Niels
23f70b47ad Appveyor fix 2015-08-14 15:09:16 +02:00
Niels
92fffaa872 cleanup 2015-07-16 19:53:42 +02:00
Niels
a63c794521 some changes to Appveyor 2015-07-16 19:04:51 +02:00
Niels
bf423363bd build in release mode on appveyor (from #88) 2015-06-20 15:13:45 +02:00
Niels
29e8ca64bd applied a part of #88 2015-06-20 14:13:48 +02:00
Niels
5f4fd0b6a2 reset 2015-06-03 23:44:45 +02:00
Niels
9dbb4402fb improved performance for dump() 2015-06-03 23:34:10 +02:00
Niels
b67b13c29e Appveyor 2015-05-06 20:48:20 +02:00
Niels
faae8bb843 some typename fix 2015-04-27 23:09:51 +02:00
Niels
14e54b2b72 Appveyor 2015-04-27 22:53:46 +02:00
Niels
ecc97bcf96 added /EHsc parameter 2015-04-27 22:45:21 +02:00