Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
91d7aa57
Unverified
Commit
91d7aa57
authored
Dec 29, 2020
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
⚗
add C++20 build
parent
ca51dc62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
ubuntu.yml
.github/workflows/ubuntu.yml
+40
-0
No files found.
.github/workflows/ubuntu.yml
View file @
91d7aa57
...
...
@@ -42,3 +42,43 @@ jobs:
run
:
cmake --build build --parallel 10
-
name
:
test
run
:
cd build ; ctest -j 10 --output-on-failure
gcc_build_cxx20
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
install_gcc
run
:
|
sudo apt update
sudo apt install gcc-10 g++-10
shell
:
bash
-
name
:
cmake
run
:
cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON
env
:
CC
:
gcc-10
CXX
:
g++-10
-
name
:
build
run
:
cmake --build build --parallel 10
-
name
:
test
run
:
cd build ; ctest -j 10 --output-on-failure
clang_build_cxx20
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
install_gcc
run
:
|
sudo apt update
sudo apt install clang-10
shell
:
bash
-
name
:
cmake
run
:
cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON
env
:
CC
:
clang-10
CXX
:
clang++-10
-
name
:
build
run
:
cmake --build build --parallel 10
-
name
:
test
run
:
cd build ; ctest -j 10 --output-on-failure
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment