From eaa8214962a780af31d194d869c3f95582b6f4ec Mon Sep 17 00:00:00 2001 From: Sean Robinson Date: Mon, 28 Mar 2022 13:03:05 -0700 Subject: [PATCH] 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 --- .github/workflows/static_analysis.yml | 40 --------------------------- tools/CMakeLists.txt | 10 ------- tools/static_analysis_setup.sh | 4 --- tools/tidy-base.cpp | 4 --- 4 files changed, 58 deletions(-) delete mode 100644 .github/workflows/static_analysis.yml delete mode 100644 tools/CMakeLists.txt delete mode 100755 tools/static_analysis_setup.sh delete mode 100644 tools/tidy-base.cpp diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml deleted file mode 100644 index 2724a71..0000000 --- a/.github/workflows/static_analysis.yml +++ /dev/null @@ -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 diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt deleted file mode 100644 index cff613b..0000000 --- a/tools/CMakeLists.txt +++ /dev/null @@ -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" ".") diff --git a/tools/static_analysis_setup.sh b/tools/static_analysis_setup.sh deleted file mode 100755 index 350eb82..0000000 --- a/tools/static_analysis_setup.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -# Change to the "tools" subdir before "build" subdir is made. -cd tools diff --git a/tools/tidy-base.cpp b/tools/tidy-base.cpp deleted file mode 100644 index 87b47a1..0000000 --- a/tools/tidy-base.cpp +++ /dev/null @@ -1,4 +0,0 @@ - -#include "argparse/argparse.hpp" - -int main(int argc, const char* argv[]) {}