Commit graph

43 commits

Author SHA1 Message Date
Niels Lohmann 6f551930e5
🚨 add new CI and fix warnings (#2561)
* ⚗️ move CI targets to CMake
* ♻️ add target for cpplint
* ♻️ add target for self-contained binaries
* ♻️ add targets for iwyu and infer
* 🔊 add version output
* ♻️ add target for oclint
* 🚨 fix warnings
* ♻️ rename targets
* ♻️ use iwyu properly
* 🚨 fix warnings
* ♻️ use iwyu properly
* ♻️ add target for benchmarks
* ♻️ add target for CMake flags
* 👷 use GitHub Actions
* ⚗️ try to install Clang 11
* ⚗️ try to install GCC 11
* ⚗️ try to install Clang 11
* ⚗️ try to install GCC 11
* ⚗️ add clang analyze target
* 🔥 remove Google Benchmark
* ⬆️ Google Benchmark 1.5.2
* 🔥 use fetchcontent
* 🐧 add target to download a Linux version of CMake
* 🔨 fix dependency
* 🚨 fix includes
* 🚨 fix comment
* 🔧 adjust flags for GCC 11.0.0 20210110 (experimental)
* 🐳 user Docker image to run CI
* 🔧 add target for Valgrind
* 👷 add target for Valgrind tests
* ⚗️ add Dart
*  remove Dart
* ⚗️ do not call ctest in test subdirectory
* ⚗️ download test data explicitly
* ⚗️ only execute Valgrind tests
* ⚗️ fix labels
* 🔥 remove unneeded jobs
* 🔨 cleanup
* 🐛 fix OCLint call
*  add targets for offline and git-independent tests
*  add targets for C++ language versions and reproducible tests
* 🔨 clean up
* 👷 add CI steps for cppcheck and cpplint
* 🚨 fix warnings from Clang-Tidy
* 👷 add CI steps for Clang-Tidy
* 🚨 fix warnings
* 🔧 select proper binary
* 🚨 fix warnings
* 🚨 suppress some unhelpful warnings
* 🚨 fix warnings
* 🎨 fix format
* 🚨 fix warnings
* 👷 add CI steps for Sanitizers
* 🚨 fix warnings
*  add optimization to sanitizer build
* 🚨 fix warnings
* 🚨 add missing header
* 🚨 fix warnings
* 👷 add CI step for coverage
* 👷 add CI steps for disabled exceptions and implicit conversions
* 🚨 fix warnings
* 👷 add CI steps for checking indentation
* 🐛 fix variable use
* 💚 fix build
*  remove CircleCI
* 👷 add CI step for diagnostics
* 🚨 fix warning
* 🔥 clean Travis
2021-03-24 07:15:18 +01:00
Niels Lohmann e4fc598466
⚗️ add C++20 build 2020-12-29 20:45:56 +01:00
Niels Lohmann 77be4f6aaf
⚗️ add C++20 build 2020-12-29 20:32:07 +01:00
Niels Lohmann 91d7aa571f
⚗️ add C++20 build 2020-12-29 20:30:50 +01:00
Niels Lohmann ca51dc62f2
⚗️ try to use Clang 10 2020-12-29 20:21:43 +01:00
Niels Lohmann 433da31334
⚗️ try to use GCC 10 2020-12-29 20:16:51 +01:00
Niels Lohmann eaac918034
👷 remove clang9 CI 2020-12-02 08:58:45 +01:00
Niels Lohmann 4080d0b1a4
add test to compile without exceptions 2020-08-10 09:48:11 +02:00
Niels Lohmann 6bd38a2cb9
👷 merge Gitlab actions 2020-07-22 09:02:55 +02:00
Thomas Braun 25a59b59f2 Github Actions: Add ClangCL on Windows
MS Visual Studio 2019 has builtin support for other compiler toolsets [1].

This commit adds support for compiling using LLVM/Clang 10 using Visual
Studio.

ClangCL pretends to be MSVC so the usual MSVC flags apply, see also [2].
For detecting if ClangCL is used, newer cmake verisons (>= 3.15) have
builtin support using CMAKE_CXX_COMPILER_FRONTEND_VARIANT [3], for older
ones a workaround is available using CMAKE_CXX_SIMULATE_ID [4].

[1]: https://devblogs.microsoft.com/cppblog/clang-llvm-support-in-visual-studio/
[2]: https://clang.llvm.org/docs/UsersManual.html#clang-cl
[3]: https://stackoverflow.com/a/10055571
[4]: 4fe34b2d29
2020-07-14 16:02:44 +02:00
Niels Lohmann dc06f100be
Merge branch 'develop' of https://github.com/nlohmann/json into clang_windows
 Conflicts:
	include/nlohmann/detail/input/binary_reader.hpp
	include/nlohmann/detail/input/json_sax.hpp
	include/nlohmann/detail/input/lexer.hpp
	include/nlohmann/detail/input/parser.hpp
	include/nlohmann/detail/json_pointer.hpp
	include/nlohmann/detail/output/serializer.hpp
	include/nlohmann/json.hpp
	single_include/nlohmann/json.hpp
2020-07-11 14:04:40 +02:00
Niels Lohmann d019ddfcdb
👷 add code scanning 2020-07-08 12:25:53 +02:00
Niels Lohmann 24e8562664
👷 remove Clang 8 2020-06-04 12:48:03 +02:00
Niels Lohmann a53e3a5443
👷 try Clang 8 2020-06-04 12:34:56 +02:00
Niels Lohmann dc323314d5
👷 try Clang 10 2020-06-04 12:29:53 +02:00
Niels Lohmann 402c34c526
👷 try Clang 10 2020-06-04 12:27:37 +02:00
Niels Lohmann 9708b1e9c3
🔥 remove Code Inspector 2020-06-03 13:49:46 +02:00
Niels Lohmann 68fd772fdf
👷 add Code Inspector via GitHub Action 2020-06-03 13:44:33 +02:00
Niels Lohmann 9bc2a7fa25
👷 add Code Inspector via GitHub Action 2020-06-03 13:39:56 +02:00
Niels Lohmann 5ea205f570
👷 install clang 2020-05-30 18:17:54 +02:00
Niels Lohmann 5f10d5d156
👷 install clang 2020-05-30 18:15:13 +02:00
Niels Lohmann 7c0c522b96
👷 install clang 2020-05-30 18:11:54 +02:00
Niels Lohmann 522ec5d7bd
👷 install clang 2020-05-30 18:06:52 +02:00
Niels Lohmann 7e5c2a480a
👷 install clang 2020-05-30 18:04:07 +02:00
Niels Lohmann 9c971c2d2f
👷 install clang 2020-05-30 17:40:27 +02:00
Niels Lohmann 4ba8c95794
👷 install clang 2020-05-30 13:41:18 +02:00
Niels Lohmann fbd3e8f677
👷 install clang 2020-05-30 13:35:19 +02:00
Niels Lohmann 0309025b45
👷 set full path 2020-05-30 13:28:44 +02:00
Niels Lohmann 9191926fff
👷 use Makefiles 2020-05-30 13:23:13 +02:00
Niels Lohmann 42ef2a5adb
👷 use Clang compiler 2020-05-30 13:15:56 +02:00
Niels Lohmann 2182935397
👷 add Clang/Windows step 2020-05-30 13:07:23 +02:00
Niels Lohmann 325e8ab8ab
🔧 explicitly switch on tests in CI 2020-05-27 13:22:14 +02:00
Niels Lohmann 4d39644bd0
💚 fix build 2020-05-19 13:45:52 +02:00
Niels Lohmann 5cfa8a586e
👷 run workflows on pull requests 2020-05-18 14:01:54 +02:00
Niels Lohmann 94115a302e
🏁 exclude slow Unicode test 2020-05-12 21:22:47 +02:00
Niels Lohmann 8c44c7b6de
🏁 set Windows CI to Release mode 2020-05-12 21:18:08 +02:00
Niels Lohmann 44a2158b18
👷 make debug build 2020-05-12 20:51:45 +02:00
Niels Lohmann 77e0ba8750
👷 parallelize builds 2020-05-12 20:45:18 +02:00
Niels Lohmann 6e59c8301a
👷 simplify CMake invocations 2020-05-12 20:37:50 +02:00
Niels Lohmann ab02b08296
👷 rename workflows 2020-05-12 20:30:11 +02:00
Niels Lohmann cd76f59af6
👷 add more GitHub actions workflows 2020-05-12 20:26:17 +02:00
Niels Lohmann eab68e7750
👷 add test step 2019-09-02 22:15:11 +02:00
Niels Lohmann 90c1c24ccb
👷 try GitHub Actions 2019-09-02 21:35:53 +02:00