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:
Sean Robinson 2022-03-28 13:03:05 -07:00
parent cba0a1b3c7
commit eaa8214962
4 changed files with 0 additions and 58 deletions

View File

@ -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

View File

@ -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" ".")

View File

@ -1,4 +0,0 @@
#!/bin/bash
# Change to the "tools" subdir before "build" subdir is made.
cd tools

View File

@ -1,4 +0,0 @@
#include "argparse/argparse.hpp"
int main(int argc, const char* argv[]) {}