diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml deleted file mode 100644 index 2724a71d..00000000 --- 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 cff613b9..00000000 --- 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 350eb82e..00000000 --- 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 87b47a18..00000000 --- a/tools/tidy-base.cpp +++ /dev/null @@ -1,4 +0,0 @@ - -#include "argparse/argparse.hpp" - -int main(int argc, const char* argv[]) {}