mirror of
https://github.com/nlohmann/json.git
synced 2026-08-25 02:23:19 +00:00
⚗️ add C++20 build
This commit is contained in:
@@ -54,7 +54,7 @@ jobs:
|
|||||||
sudo apt install gcc-10 g++-10
|
sudo apt install gcc-10 g++-10
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: cmake
|
- name: cmake
|
||||||
run: cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON
|
run: cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON
|
||||||
env:
|
env:
|
||||||
CC: gcc-10
|
CC: gcc-10
|
||||||
CXX: g++-10
|
CXX: g++-10
|
||||||
|
|||||||
Reference in New Issue
Block a user