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
0638a27e
Unverified
Commit
0638a27e
authored
Apr 24, 2021
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
👷
add step for Infer
parent
10fc5162
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ubuntu.yml
.github/workflows/ubuntu.yml
+1
-1
ci.cmake
cmake/ci.cmake
+1
-1
No files found.
.github/workflows/ubuntu.yml
View file @
0638a27e
...
@@ -44,7 +44,7 @@ jobs:
...
@@ -44,7 +44,7 @@ jobs:
container
:
nlohmann/json-ci:latest
container
:
nlohmann/json-ci:latest
strategy
:
strategy
:
matrix
:
matrix
:
target
:
[
ci_clang_tidy
,
ci_cppcheck
,
ci_test_valgrind
,
ci_test_clang_sanitizer
,
ci_test_amalgamation
,
ci_clang_analyze
,
ci_cpplint
,
ci_cmake_flags
,
ci_single_binaries
,
ci_reproducible_tests
,
ci_non_git_tests
,
ci_offline_testdata
]
target
:
[
ci_clang_tidy
,
ci_cppcheck
,
ci_test_valgrind
,
ci_test_clang_sanitizer
,
ci_test_amalgamation
,
ci_clang_analyze
,
ci_cpplint
,
ci_cmake_flags
,
ci_single_binaries
,
ci_reproducible_tests
,
ci_non_git_tests
,
ci_offline_testdata
,
ci_infer
]
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
-
name
:
cmake
-
name
:
cmake
...
...
cmake/ci.cmake
View file @
0638a27e
...
@@ -637,7 +637,7 @@ add_custom_target(ci_pvs_studio
...
@@ -637,7 +637,7 @@ add_custom_target(ci_pvs_studio
add_custom_target
(
ci_infer
add_custom_target
(
ci_infer
COMMAND mkdir -p
${
PROJECT_BINARY_DIR
}
/build_infer
COMMAND mkdir -p
${
PROJECT_BINARY_DIR
}
/build_infer
COMMAND cd
${
PROJECT_BINARY_DIR
}
/build_infer &&
${
INFER_TOOL
}
compile --
${
CMAKE_COMMAND
}
-DCMAKE_BUILD_TYPE=Debug
${
PROJECT_SOURCE_DIR
}
-DJSON_BuildTests=ON -DJSON_MultipleHeaders=ON
COMMAND cd
${
PROJECT_BINARY_DIR
}
/build_infer &&
${
INFER_TOOL
}
compile --
${
CMAKE_COMMAND
}
-DCMAKE_BUILD_TYPE=Debug
${
PROJECT_SOURCE_DIR
}
-DJSON_BuildTests=ON -DJSON_MultipleHeaders=ON
COMMAND cd
${
PROJECT_BINARY_DIR
}
/build_infer &&
${
INFER_TOOL
}
run -- make
--parallel
${
N
}
COMMAND cd
${
PROJECT_BINARY_DIR
}
/build_infer &&
${
INFER_TOOL
}
run -- make
COMMENT
"Check code with Infer"
COMMENT
"Check code with Infer"
)
)
...
...
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