mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-03 06:34:40 +00:00
Remove StaticAnalysis Action
I am seeing too many errors due to bad tool configuration, not from problems in project code. So, disable SA until I can make it work more reliably. Signed-off-by: Sean Robinson <sean.robinson@scottsdalecc.edu>
This commit is contained in:
parent
cba0a1b3c7
commit
eaa8214962
40
.github/workflows/static_analysis.yml
vendored
40
.github/workflows/static_analysis.yml
vendored
@ -1,40 +0,0 @@
|
||||
|
||||
name: Static Analysis
|
||||
|
||||
on: pull_request_target
|
||||
|
||||
jobs:
|
||||
|
||||
static_analysis:
|
||||
|
||||
name: ${{ matrix.toolchain }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
|
||||
matrix:
|
||||
|
||||
toolchain:
|
||||
- ubuntu-latest
|
||||
|
||||
include:
|
||||
- toolchain: ubuntu-latest
|
||||
os: ubuntu-latest
|
||||
compiler: clang
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Analyze
|
||||
uses: skrobinson/StaticAnalysis@stable-for-argparse
|
||||
with:
|
||||
clang_tidy_args: >-
|
||||
--config-file=$GITHUB_WORKSPACE/.clang-tidy
|
||||
--extra-arg=-I$GITHUB_WORKSPACE/include --extra-arg=-std=c++17
|
||||
cppcheck_args: >-
|
||||
--enable=all --inconclusive --inline-suppr
|
||||
--suppress=missingInclude
|
||||
--suppress='*:$GITHUB_WORKSPACE/test/doctest.hpp'
|
||||
init_script: tools/static_analysis_setup.sh
|
@ -1,10 +0,0 @@
|
||||
cmake_minimum_required(VERSION 3.12)
|
||||
project(argparse)
|
||||
|
||||
file(GLOB ARGPARSE_LINT_SOURCES
|
||||
tidy-base.cpp
|
||||
)
|
||||
ADD_EXECUTABLE(ARGPARSE_LINT ${ARGPARSE_LINT_SOURCES})
|
||||
set_target_properties(ARGPARSE_LINT PROPERTIES OUTPUT_NAME tidy-base)
|
||||
set_property(TARGET ARGPARSE_LINT PROPERTY CXX_STANDARD 17)
|
||||
INCLUDE_DIRECTORIES("../include" ".")
|
@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Change to the "tools" subdir before "build" subdir is made.
|
||||
cd tools
|
@ -1,4 +0,0 @@
|
||||
|
||||
#include "argparse/argparse.hpp"
|
||||
|
||||
int main(int argc, const char* argv[]) {}
|
Loading…
Reference in New Issue
Block a user