Niels Lohmann
0fa326a8e8
Use Clang image to run iwyu ( #4574 )
...
* 🔧 use Clang image to run iwyu
* 🔧 use Clang image to run iwyu
2024-12-29 15:49:35 +01:00
Niels Lohmann
8314ac2f76
Use ubuntu-latest image to run Valgrind ( #4575 )
...
* 🔧 use Clang image to run valgrind
* 🔧 use Clang image to run valgrind
* 🔧 use Clang image to run valgrind
* 🔧 use Ubuntu image to run valgrind
2024-12-29 15:49:20 +01:00
dependabot[bot]
733c59588d
Bump actions/upload-artifact from 4.4.3 to 4.5.0 ( #4557 )
2024-12-18 18:43:22 +00:00
Niels Lohmann
30cd44df95
Clean up CI ( #4553 )
...
* 💚 overwork cppcheck
* 🔒 adjust permissions
* 💚 fixes
* 💚 fixes
2024-12-17 18:58:05 +01:00
Niels Lohmann
861ec9c3c6
Fix token permissions warnings ( #4550 )
...
* 🚨 fix token permissions warnings
* 🚨 fix token permissions warnings
* 🚨 fix token permissions warnings
2024-12-17 12:55:19 +01:00
Niels Lohmann
f2a4ac0673
Add step to build the documentation ( #4549 )
...
* 💚 add step to build the documentation
* 💚 add step to build the documentation
2024-12-17 09:48:24 +01:00
Niels Lohmann
8e1b800017
Move reuse dependency to requirements.txt file ( #4547 )
2024-12-16 17:25:18 +01:00
Niels Lohmann
677e19e39c
Clean up ( #4546 )
2024-12-16 07:23:35 +01:00
dependabot[bot]
1c8e26dcb4
⬆️ Bump lukka/get-cmake from 3.31.0 to 3.31.2 ( #4544 )
2024-12-15 21:23:59 +00:00
StepSecurity Bot
4003f8da02
[StepSecurity] Apply security best practices ( #4539 )
...
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io >
2024-12-15 18:31:21 +01:00
Niels Lohmann
a006a7a48b
Add more GCC warning flags ( #4524 )
...
* 🔧 add more GCC warning flags
* 👷 use GCC image for GCC test
* 👷 use GCC image for GCC test
* 👷 use GCC image for GCC test
* 👷 use GCC image for GCC test
* 👷 use GCC image for GCC test
* 👷 use GCC image for GCC test
* 👷 use GCC image for GCC test
* 👷 use GCC image for GCC test
* 🔧 adjust flags
* 👷 adjust jobs
* 👷 adjust jobs
2024-12-01 16:13:48 +01:00
Niels Lohmann
ee32bfc1c2
Make SAX output locale-independent ( #4505 )
...
* 🐛 make SAX output locale-independent #4084
* ✅ add test
* ✅ add test
* ✅ add test
* ✅ add test
* ✅ add test
* ✅ add test
* 🐛 make SAX output locale-independent #4084
* 🐛 make SAX output locale-independent #4084
* 🐛 make SAX output locale-independent #4084
* 🐛 make SAX output locale-independent #4084
* 🐛 make SAX output locale-independent #4084
* 🐛 make SAX output locale-independent #4084
* 🐛 make SAX output locale-independent #4084
* 🐛 make SAX output locale-independent #4084
* 🐛 make SAX output locale-independent #4084
* 🐛 make SAX output locale-independent #4084
* 🐛 make SAX output locale-independent #4084
* 🐛 make SAX output locale-independent #4084
2024-11-24 21:14:00 +01:00
Niels Lohmann
e3ac5a64bf
Add test for libstdc++ ( #4495 )
...
* 👷 add test for libstdc++
* 👷 add test for libstdc++
* 💚 add fixes from #4490
* 💚 add fixes from #4490
2024-11-17 07:35:35 +01:00
Niels Lohmann
1825117e63
Another desperate try to fix the CI ( #4489 )
...
* 🚨 fix warning
* 💚 update actions
* 🚨 fix warning
* 🚨 fix warning
* 🚨 fix warning
* 💚 update actions
* 💚 update actions
* 🚨 fix warning
* 🚨 fix warning
* 💚 update actions
* 🚨 fix warning
* 💚 update actions
* 💚 update actions
* 💚 update actions
* 🚨 fix warning
* 🚨 fix warning
* 🚨 fix warning
* 🚨 fix warning
* 💚 update actions
* 💚 update actions
* 🚨 fix warning
* 💚 update actions
* 💚 update actions
* 💚 update actions
* 💚 update actions
* 💚 update actions
2024-11-13 10:21:26 +01:00
Colby Haskell
5d931c59a3
Fix failing CI checks ( #4215 )
2023-11-25 18:04:59 +01:00
Niels Lohmann
a0c1318830
Fix CI + new Doctest ( #3985 )
2023-05-21 17:23:18 +02:00
Joyce
546370c9e7
Set minimal permissions to Github Workflows ( #3972 )
2023-03-13 12:14:35 +01:00
Raphael Grimm
233d233439
Fix CI issues ( #3906 )
...
Co-authored-by: barcode <barcode@example.com >
2023-01-31 19:23:37 +01:00
Niels Lohmann
7f72eedc2d
Clang 15 ( #3876 )
2022-12-11 17:08:34 +01:00
Niels Lohmann
3c616ed688
💚 fix Ubuntu build
2022-12-10 23:18:35 +01:00
Niels Lohmann
3e990876e1
💚 fix Ubuntu build
2022-12-10 22:17:37 +01:00
Niels Lohmann
b6dcf3edf3
💚 fix Ubuntu build
2022-12-10 22:01:08 +01:00
Niels Lohmann
07182ebc1d
💚 fix Ubuntu build
2022-12-10 14:45:41 +01:00
Niels Lohmann
f7d46b8803
💚 fix Ubuntu build
2022-12-10 14:42:58 +01:00
Niels Lohmann
84e5a321eb
💚 fix Ubuntu build
2022-12-10 14:23:18 +01:00
Niels Lohmann
23e69222c5
💚 fix Ubuntu build
2022-12-10 14:10:28 +01:00
Niels Lohmann
5fa4e66d37
💚 fix Ubuntu build
2022-12-10 13:55:30 +01:00
Niels Lohmann
c700a9ecbb
💚 fix Ubuntu build
2022-12-10 13:52:27 +01:00
Niels Lohmann
c5a03c2ea0
💚 fix Ubuntu build
2022-12-10 13:48:06 +01:00
Niels Lohmann
349e4b310e
Fix natvis XML ( #3863 )
...
* 🐛 fix natvis XML
* 🐛 fix natvis XML
2022-12-09 16:34:34 +01:00
Niels Lohmann
8f8315368b
🐛 fix natvis XML
2022-12-04 21:47:08 +01:00
Niels Lohmann
24ba54e687
Fix pipeline ( #3862 )
2022-12-04 14:03:54 +01:00
Niels Lohmann
58bd97e2b1
Add clang-tools to required tools for ci_static_analysis_clang ( #3724 )
...
* 💚 add clang-tools to required tools for ci_static_analysis_clang
* 🚨 update Clang-Tidy warning selection
* 🚨 fix Clang-Tidy warnings
* 🚨 fix Clang-Tidy warnings
* 🚨 fix Clang-Tidy warnings
* 🚨 fix Clang-Tidy warnings
* 🚨 fix Clang-Tidy warnings
* 🚨 fix Clang-Tidy warnings
* 🚨 fix Clang-Tidy warnings
* 🚨 fix Clang-Tidy warnings
* 🚨 fix Clang-Tidy warnings
* 🚨 fix Clang-Tidy warnings
* 🚨 fix Clang-Tidy warnings (#3738 )
* ⏪ revert fix
* ⏪ revert fix
* 🚨 fix Clang-Tidy warnings (#3739 )
Co-authored-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com >
2022-09-13 12:58:26 +02:00
Niels Lohmann
f7973f46d6
Use official Clang/GCC containers ( #3703 )
2022-08-27 17:28:50 +02:00
Niels Lohmann
7b6cf5918b
Documentation change ( #3672 )
...
Co-authored-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com >
2022-08-05 19:51:39 +02:00
Niels Lohmann
e839f58a2a
👷 fix whitespace ( #3675 )
2022-08-05 09:12:28 +02:00
Niels Lohmann
22cd1c9eb9
🔧 adjust naming of GitHub action jobs ( #3661 )
2022-08-03 18:37:02 +02:00
Florian Albrechtskirchinger
ac9e668e63
Update CI ( #3626 )
...
* Bump macos-10.5 runner to macos-11 and update Xcode versions
* Address CodeQL warning
* Only build relevant commits on AppVeyor
* Don't hardcode paths in Ubuntu workflow
2022-08-03 09:15:16 +02:00
Florian Albrechtskirchinger
cbaf1033be
Fix global UDLs ( #3646 )
...
* Add ci_test_noglobaludls to CI
* Really default JSON_GLOBAL_UDLS to 1
* Test global UDLs
* Suppress warnings
* Clarify documentation
2022-08-01 22:42:35 +02:00
Niels Lohmann
d1d79b930d
Adjust JSON Pointer examples ( #3622 )
...
* 📝 adjust JSON Pointer examples
* 👷 add test for documentation
* 📝 note platform-dependent output on some examples
2022-07-29 14:28:37 +02:00
Florian Albrechtskirchinger
298e4a9449
Use concurrency ( #3610 )
...
Use concurrency in GitHub workflows to cancel in-progress or pending
runs for the same ref.
2022-07-28 21:51:32 +02:00
Niels Lohmann
527da54dcb
Use REUSE framework ( #3546 )
...
* 📄 add licenses
* 👷 add REUSE compliance check
* 📝 add badge for REUSE
Co-authored-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com >
2022-07-20 12:38:07 +02:00
Florian Albrechtskirchinger
e80945da2c
CI: Enable 32bit unit test (3) ( #3532 )
...
* Enable JSON_MultipleHeaders by default
* CI: Add single-header build
* CI: Enable 32bit unit test
* Fix "-Wuseless-cast" warnings
* Remove coverage exclusion
* Fix 32bit test case
2022-06-14 08:54:12 +02:00
Niels Lohmann
af34396129
Use new CI image ( #3528 )
...
* ⬆️ use new CI image
* ⬆️ use new CI image
* 🚨 fix warning
* 🔧 remove duplicate warning flags
* 💚 fix test
* 📝 update compiler versions
2022-06-12 14:31:07 +02:00
Florian Albrechtskirchinger
6b97599a27
Fix C++20/gcc-12 issues (Part 2) ( #3446 )
...
* Add C++20 3-way comparison operator and fix broken comparisons
Fixes #3207 .
Fixes #3409 .
* Fix iterators to meet (more) std::ranges requirements
Fixes #3130 .
Related discussion: #3408
* Add note about CMake standard version selection to unit tests
Document how CMake chooses which C++ standard version to use when
building tests.
* Update documentation
* CI: add legacy discarded value comparison
* Fix internal linkage errors when building a module
2022-05-29 13:08:06 +02:00
Florian Albrechtskirchinger
bdc21ad1a7
Add build step for ICPC (with fixes) ( #3465 )
...
* ⬆️ Doctest 2.4.7
* 👷 add CI step for ICPC
* 👷 add CI step for ICPC
* 👷 add CI step for ICPC
* ⬇️ downgrade to Doctest 2.4.6
* 👷 add CI step for ICPC
* 👷 add CI step for ICPC
* 👷 add CI step for ICPC
* 👷 add CI step for ICPC
* 👷 add CI step for ICPC
* 🔇 suppress warning #2196 : routine is both "inline" and "noinline"
* Re-enable <filesystem> detection on ICPC
* Limit regression test for #3070 to Clang and GCC >=8.4
* Disable deprecation warnings on ICPC
* Disable regression test for #1647 on ICPC (C++20)
* Fix compilation failure of regression test for #3077 on ICPC
* Disable wstring unit test on ICPC
Fixes:
error 913: invalid multibyte character sequence
* Add ICPC to README
Co-authored-by: Niels Lohmann <mail@nlohmann.me >
2022-05-01 22:46:45 +02:00
Niels Lohmann
448b173ccf
Update CI image ( #3420 )
...
* ⬆️ use new CI image
* ⬆️ use new CI image
* 🚨 suppress Clang-Tidy warnings
* 💚 use proper scan-build version
* 🚨 suppress Clang-Tidy warnings
* ⬆️ use more recent GitHub actions
* 💚 add missing compiler
* 📝 update used compilers
* 🚨 fix duplicate inclusion
2022-04-06 15:14:14 +02:00
Florian Albrechtskirchinger
d1e57df48b
Fix and update CI ( #3368 )
...
* CI: add workflow_dispatch trigger
* CI: change msvc2019*/clang* runners to windows-2019
GitHub updated their runners. windows-latest is now based on Windows
Server 2022 and comes with different tool versions.
MSVC 2019 is still available via the windows-2019 runner.
2022-03-06 13:54:00 +01:00
Niels Lohmann
1aca6cb949
Add build step for NVCC and fix a warning ( #3227 )
...
* 👷 add step for NVCC build #2676
* 🚨 fix warning (code taken from #2736 )
* 👷 use version 2.2.0 of the CI image
2021-12-30 13:40:15 +01:00
Niels Lohmann
6d3115924c
Add C++17 copies of the test binaries ( #3101 )
...
* ⚗️ add C++17 copies of the test binaries
* ⚗️ use proper header for filesystem
* 🚨 fix warnings
* ⚗️ do not use too old compilers with C++17
* ✅ add test
* 🔨 add more constraints #3097
* ⚗️ use fix from https://github.com/nlohmann/json/pull/3101#issuecomment-998788786
* ⚗️ use fix from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90050
* 👷 use published CI image
2021-12-29 09:47:05 +01:00