From e1df622ee59e55019b7632c00cb1e01b19870565 Mon Sep 17 00:00:00 2001 From: clevelam Date: Wed, 22 Feb 2023 11:14:41 -0700 Subject: [PATCH] remove github workflows --- .github/PULL_REQUEST_TEMPLATE | 25 --------- .github/workflows/ci-autodoc.yml | 52 ----------------- .github/workflows/ci-clang-tidy.yml | 56 ------------------- .github/workflows/ci-gcc-mpi.yml | 57 ------------------- .github/workflows/ci-gcc-scalar.yml | 57 ------------------- .github/workflows/ci-llvm-mpi.yml | 55 ------------------ .github/workflows/ci-style-check.yml | 51 ----------------- .github/workflows/linter.yml | 83 ---------------------------- 8 files changed, 436 deletions(-) delete mode 100644 .github/PULL_REQUEST_TEMPLATE delete mode 100644 .github/workflows/ci-autodoc.yml delete mode 100644 .github/workflows/ci-clang-tidy.yml delete mode 100644 .github/workflows/ci-gcc-mpi.yml delete mode 100644 .github/workflows/ci-gcc-scalar.yml delete mode 100644 .github/workflows/ci-llvm-mpi.yml delete mode 100644 .github/workflows/ci-style-check.yml delete mode 100644 .github/workflows/linter.yml diff --git a/.github/PULL_REQUEST_TEMPLATE b/.github/PULL_REQUEST_TEMPLATE deleted file mode 100644 index a93bccda8..000000000 --- a/.github/PULL_REQUEST_TEMPLATE +++ /dev/null @@ -1,25 +0,0 @@ -### Background - -* item - -### Purpose of Pull Request - -* detail 1, refs #2 (github number) -* [Fixes re-git issue #3](https://re-git.lanl.gov/draco/draco/-/issues/3) - -### Description of changes - -* item - -### Status - -* Reference: - * [Pre-Merge Code Review](https://github.com/lanl/Draco/wiki/Style-Guide) - * [CDash Status](https://rtt.lanl.gov/cdash3/index.php?project=Draco&filtercount=1&showfilters=1&field1=buildname&compare1=63&value1=-pr) -* Checks - * [ ] Travis/Appveyor CI checks pass - * [ ] Code coverage does not decrease - * [ ] [Valgrind test passes](https://rtt.lanl.gov/cdash3/index.php?project=Draco) - * [ ] [Toss3 checks pass](https://rtt.lanl.gov/cdash3/index.php?project=Draco) - * [ ] [Trinitite checks pass](https://rtt.lanl.gov/cdash3/index.php?project=Draco) - * [ ] Code reviewed/approved, sufficient DbC checks, testing, documentation diff --git a/.github/workflows/ci-autodoc.yml b/.github/workflows/ci-autodoc.yml deleted file mode 100644 index 636191099..000000000 --- a/.github/workflows/ci-autodoc.yml +++ /dev/null @@ -1,52 +0,0 @@ ---- -name: CI autodoc - -# yamllint disable rule:line-length - -# Documentation: -# - https://help.github.com/en/articles/workflow-syntax-for-github-actions -# - https://github.com/lanl/Draco/new/develop?filename=.github%2Fworkflows%2Fmain.yml&workflow_template=blank - -############################# -# Start the job on all push # -############################# -on: - # Triggers the workflow on push or pull request events but only for the develop branch - push: - branches: [develop] - pull_request: - branches: [develop] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -env: - PYTHONPATH: /home/runner/work/Draco/Draco/config - -############### -# Set the Job # -############### -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v2 - with: - # Full git history is needed to get a proper list of changed files within `super-linter` - fetch-depth: 0 - # submodules: true - - - name: Fetch Docker image for CI - uses: docker://kinetictheory/draco-ci-2020nov:autodoc - - - name: Autodoc - env: - DOCKER_TAG: autodoc - AUTODOC: ON - COMPILER: GCC - DRACO_C4: MPI - WERROR: ON - run: | - echo "docker run -v ${GITHUB_WORKSPACE}:/home/travis/Draco -e COMPILER=${COMPILER} -e VENDOR_DIR=/vendors -e BUILD_DIR=/home/travis/Draco/build -e SOURCE_DIR=/home/travis/Draco -e STYLE=${STYLE} -e COVERAGE=${COVERAGE} -e WERROR=${WERROR} -e DRACO_C4=${DRACO_C4} -e AUTODOC=${AUTODOC} -e CLANGTIDY=${CLANGTIDY} -e CI=${CI} kinetictheory/draco-ci-2020nov:${DOCKER_TAG} /bin/bash -l -c /home/travis/Draco/tools/travis-run-tests.sh" - docker run -v ${GITHUB_WORKSPACE}:/home/travis/Draco -e COMPILER=${COMPILER} -e VENDOR_DIR=/vendors -e BUILD_DIR=/home/travis/Draco/build -e SOURCE_DIR=/home/travis/Draco -e STYLE=${STYLE} -e COVERAGE=${COVERAGE} -e WERROR=${WERROR} -e DRACO_C4=${DRACO_C4} -e AUTODOC=${AUTODOC} -e CLANGTIDY=${CLANGTIDY} -e CI=${CI} kinetictheory/draco-ci-2020nov:${DOCKER_TAG} /bin/bash -l -c '/home/travis/Draco/tools/travis-run-tests.sh' diff --git a/.github/workflows/ci-clang-tidy.yml b/.github/workflows/ci-clang-tidy.yml deleted file mode 100644 index de0beb6ba..000000000 --- a/.github/workflows/ci-clang-tidy.yml +++ /dev/null @@ -1,56 +0,0 @@ ---- -name: CI clang-tidy - -# yamllint disable rule:line-length - -# Documentation: -# - https://help.github.com/en/articles/workflow-syntax-for-github-actions -# - https://github.com/lanl/Draco/new/develop?filename=.github%2Fworkflows%2Fmain.yml&workflow_template=blank - -############################# -# Start the job on all push # -############################# -on: - # Triggers the workflow on push or pull request events but only for the develop branch - push: - branches: [develop] - pull_request: - branches: [develop] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -env: - PYTHONPATH: /home/runner/work/Draco/Draco/config - -############### -# Set the Job # -############### -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v2 - with: - # Full git history is needed to get a proper list of changed files within `super-linter` - fetch-depth: 0 - # submodules: true - - - name: Fetch Docker image for CI - uses: docker://kinetictheory/draco-ci-2020nov:spack-llvm - - - name: clang-tidy - env: - DOCKER_TAG: spack-llvm - CLANGTIDY: ON - COMPILER: LLVM - DRACO_C4: MPI - WERROR: ON - run: | - echo "docker run -v ${GITHUB_WORKSPACE}:/home/travis/Draco -e COMPILER=${COMPILER} -e VENDOR_DIR=/vendors -e BUILD_DIR=/home/travis/Draco/build -e SOURCE_DIR=/home/travis/Draco -e STYLE=${STYLE} -e COVERAGE=${COVERAGE} -e WERROR=${WERROR} -e DRACO_C4=${DRACO_C4} -e AUTODOC=${AUTODOC} -e CLANGTIDY=${CLANGTIDY} -e CI=${CI} kinetictheory/draco-ci-2020nov:${DOCKER_TAG} /bin/bash -l -c /home/travis/Draco/tools/travis-run-tests.sh" - docker run -v ${GITHUB_WORKSPACE}:/home/travis/Draco -e COMPILER=${COMPILER} -e VENDOR_DIR=/vendors -e BUILD_DIR=/home/travis/Draco/build -e SOURCE_DIR=/home/travis/Draco -e STYLE=${STYLE} -e COVERAGE=${COVERAGE} -e WERROR=${WERROR} -e DRACO_C4=${DRACO_C4} -e AUTODOC=${AUTODOC} -e CLANGTIDY=${CLANGTIDY} -e CI=${CI} kinetictheory/draco-ci-2020nov:${DOCKER_TAG} /bin/bash -l -c '/home/travis/Draco/tools/travis-run-tests.sh' - -# cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -# cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -# ctest -C ${{env.BUILD_TYPE}} diff --git a/.github/workflows/ci-gcc-mpi.yml b/.github/workflows/ci-gcc-mpi.yml deleted file mode 100644 index c13d994b8..000000000 --- a/.github/workflows/ci-gcc-mpi.yml +++ /dev/null @@ -1,57 +0,0 @@ ---- -name: CI gcc mpi - -# yamllint disable rule:line-length - -# Documentation: -# - https://help.github.com/en/articles/workflow-syntax-for-github-actions -# - https://github.com/lanl/Draco/new/develop?filename=.github%2Fworkflows%2Fmain.yml&workflow_template=blank - -############################# -# Start the job on all push # -############################# -on: - # Triggers the workflow on push or pull request events but only for the develop branch - push: - branches: [develop] - pull_request: - branches: [develop] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -env: - PYTHONPATH: /home/runner/work/Draco/Draco/config - -############### -# Set the Job # -############### -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v2 - with: - # Full git history is needed to get a proper list of changed files within `super-linter` - fetch-depth: 0 - # submodules: true - - - name: Fetch Docker image for CI - uses: docker://kinetictheory/draco-ci-2020nov:spack-gcc - - - name: Gcc-mpi - env: - DOCKER_TAG: spack-gcc - COMPILER: GCC - COVERAGE: ON - DRACO_C4: MPI - WERROR: ON - run: | - if [[ ${COVERAGE:-OFF} == "ON" ]]; then ci_env=`/bin/bash <(curl -s https://codecov.io/env)`; fi - echo "docker run ${ci_env} -v ${GITHUB_WORKSPACE}:/home/travis/Draco -e COMPILER=${COMPILER} -e VENDOR_DIR=/vendors -e BUILD_DIR=/home/travis/Draco/build -e SOURCE_DIR=/home/travis/Draco -e STYLE=${STYLE} -e COVERAGE=${COVERAGE} -e WERROR=${WERROR} -e DRACO_C4=${DRACO_C4} -e AUTODOC=${AUTODOC} -e CLANGTIDY=${CLANGTIDY} -e CI=${CI} kinetictheory/draco-ci-2020nov:${DOCKER_TAG} /bin/bash -l -c /home/travis/Draco/tools/travis-run-tests.sh" - docker run ${ci_env} -v ${GITHUB_WORKSPACE}:/home/travis/Draco -e COMPILER=${COMPILER} -e VENDOR_DIR=/vendors -e BUILD_DIR=/home/travis/Draco/build -e SOURCE_DIR=/home/travis/Draco -e STYLE=${STYLE} -e COVERAGE=${COVERAGE} -e WERROR=${WERROR} -e DRACO_C4=${DRACO_C4} -e AUTODOC=${AUTODOC} -e CLANGTIDY=${CLANGTIDY} -e CI=${CI} kinetictheory/draco-ci-2020nov:${DOCKER_TAG} /bin/bash -l -c '/home/travis/Draco/tools/travis-run-tests.sh' - -# cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -# cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -# ctest -C ${{env.BUILD_TYPE}} diff --git a/.github/workflows/ci-gcc-scalar.yml b/.github/workflows/ci-gcc-scalar.yml deleted file mode 100644 index 4008a761e..000000000 --- a/.github/workflows/ci-gcc-scalar.yml +++ /dev/null @@ -1,57 +0,0 @@ ---- -name: CI gcc scalar - -# yamllint disable rule:line-length - -# Documentation: -# - https://help.github.com/en/articles/workflow-syntax-for-github-actions -# - https://github.com/lanl/Draco/new/develop?filename=.github%2Fworkflows%2Fmain.yml&workflow_template=blank - -############################# -# Start the job on all push # -############################# -on: - # Triggers the workflow on push or pull request events but only for the develop branch - push: - branches: [develop] - pull_request: - branches: [develop] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -env: - PYTHONPATH: /home/runner/work/Draco/Draco/config - -############### -# Set the Job # -############### -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v2 - with: - # Full git history is needed to get a proper list of changed files within `super-linter` - fetch-depth: 0 - # submodules: true - - - name: Fetch Docker image for CI - uses: docker://kinetictheory/draco-ci-2020nov:spack-gcc - - - name: Gcc-scalar - env: - DOCKER_TAG: spack-gcc - COMPILER: GCC - COVERAGE: ON - DRACO_C4: SCALAR - WERROR: ON - run: | - if [[ ${COVERAGE:-OFF} == "ON" ]]; then ci_env=`/bin/bash <(curl -s https://codecov.io/env)`; fi - echo "docker run ${ci_env} -v ${GITHUB_WORKSPACE}:/home/travis/Draco -e COMPILER=${COMPILER} -e VENDOR_DIR=/vendors -e BUILD_DIR=/home/travis/Draco/build -e SOURCE_DIR=/home/travis/Draco -e STYLE=${STYLE} -e COVERAGE=${COVERAGE} -e WERROR=${WERROR} -e DRACO_C4=${DRACO_C4} -e AUTODOC=${AUTODOC} -e CLANGTIDY=${CLANGTIDY} -e CI=${CI} kinetictheory/draco-ci-2020nov:${DOCKER_TAG} /bin/bash -l -c /home/travis/Draco/tools/travis-run-tests.sh" - docker run ${ci_env} -v ${GITHUB_WORKSPACE}:/home/travis/Draco -e COMPILER=${COMPILER} -e VENDOR_DIR=/vendors -e BUILD_DIR=/home/travis/Draco/build -e SOURCE_DIR=/home/travis/Draco -e STYLE=${STYLE} -e COVERAGE=${COVERAGE} -e WERROR=${WERROR} -e DRACO_C4=${DRACO_C4} -e AUTODOC=${AUTODOC} -e CLANGTIDY=${CLANGTIDY} -e CI=${CI} kinetictheory/draco-ci-2020nov:${DOCKER_TAG} /bin/bash -l -c '/home/travis/Draco/tools/travis-run-tests.sh' - -# cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -# cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -# ctest -C ${{env.BUILD_TYPE}} diff --git a/.github/workflows/ci-llvm-mpi.yml b/.github/workflows/ci-llvm-mpi.yml deleted file mode 100644 index e5dc64c9c..000000000 --- a/.github/workflows/ci-llvm-mpi.yml +++ /dev/null @@ -1,55 +0,0 @@ ---- -name: CI llvm mpi - -# yamllint disable rule:line-length - -# Documentation: -# - https://help.github.com/en/articles/workflow-syntax-for-github-actions -# - https://github.com/lanl/Draco/new/develop?filename=.github%2Fworkflows%2Fmain.yml&workflow_template=blank - -############################# -# Start the job on all push # -############################# -on: - # Triggers the workflow on push or pull request events but only for the develop branch - push: - branches: [develop] - pull_request: - branches: [develop] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -env: - PYTHONPATH: /home/runner/work/Draco/Draco/config - -############### -# Set the Job # -############### -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v2 - with: - # Full git history is needed to get a proper list of changed files within `super-linter` - fetch-depth: 0 - # submodules: true - - - name: Fetch Docker image for CI - uses: docker://kinetictheory/draco-ci-2020nov:spack-llvm - - - name: llvm-mpi - env: - DOCKER_TAG: spack-llvm - COMPILER: LLVM - DRACO_C4: MPI - WERROR: ON - run: | - echo "docker run -v ${GITHUB_WORKSPACE}:/home/travis/Draco -e COMPILER=${COMPILER} -e VENDOR_DIR=/vendors -e BUILD_DIR=/home/travis/Draco/build -e SOURCE_DIR=/home/travis/Draco -e STYLE=${STYLE} -e COVERAGE=${COVERAGE} -e WERROR=${WERROR} -e DRACO_C4=${DRACO_C4} -e AUTODOC=${AUTODOC} -e CLANGTIDY=${CLANGTIDY} -e CI=${CI} kinetictheory/draco-ci-2020nov:${DOCKER_TAG} /bin/bash -l -c /home/travis/Draco/tools/travis-run-tests.sh" - docker run -v ${GITHUB_WORKSPACE}:/home/travis/Draco -e COMPILER=${COMPILER} -e VENDOR_DIR=/vendors -e BUILD_DIR=/home/travis/Draco/build -e SOURCE_DIR=/home/travis/Draco -e STYLE=${STYLE} -e COVERAGE=${COVERAGE} -e WERROR=${WERROR} -e DRACO_C4=${DRACO_C4} -e AUTODOC=${AUTODOC} -e CLANGTIDY=${CLANGTIDY} -e CI=${CI} kinetictheory/draco-ci-2020nov:${DOCKER_TAG} /bin/bash -l -c '/home/travis/Draco/tools/travis-run-tests.sh' - -# cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -# cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -# ctest -C ${{env.BUILD_TYPE}} diff --git a/.github/workflows/ci-style-check.yml b/.github/workflows/ci-style-check.yml deleted file mode 100644 index 988bd58a1..000000000 --- a/.github/workflows/ci-style-check.yml +++ /dev/null @@ -1,51 +0,0 @@ ---- -name: CI Style Check - -# yamllint disable rule:line-length - -# Documentation: -# - https://help.github.com/en/articles/workflow-syntax-for-github-actions -# - https://github.com/lanl/Draco/new/develop?filename=.github%2Fworkflows%2Fmain.yml&workflow_template=blank - - -############################# -# Start the job on all push # -############################# -on: - # Triggers the workflow on push or pull request events but only for the develop branch - push: - branches: [develop] - pull_request: - branches: [develop] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -env: - PYTHONPATH: /home/runner/work/Draco/Draco/config - -############### -# Set the Job # -############### -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v2 - with: - # Full git history is needed to get a proper list of changed files within `super-linter` - fetch-depth: 0 - # submodules: true - - - name: Fetch Docker image for CI - uses: docker://kinetictheory/draco-ci-2020nov:style-checks - - - name: Style Checker - env: - DOCKER_TAG: style-checks - COMPILER: GCC - STYLE: ON - run: | - echo "docker run -v ${GITHUB_WORKSPACE}:/home/travis/Draco -e COMPILER=${COMPILER} -e VENDOR_DIR=/vendors -e BUILD_DIR=/home/travis/Draco/build -e SOURCE_DIR=/home/travis/Draco -e STYLE=${STYLE} -e COVERAGE=${COVERAGE} -e WERROR=${WERROR} -e DRACO_C4=${DRACO_C4} -e AUTODOC=${AUTODOC} -e CLANGTIDY=${CLANGTIDY} -e CI=${CI} kinetictheory/draco-ci-2020nov:${DOCKER_TAG} /bin/bash -l -c /home/travis/Draco/tools/travis-run-tests.sh" - docker run -v ${GITHUB_WORKSPACE}:/home/travis/Draco -e COMPILER=${COMPILER} -e VENDOR_DIR=/vendors -e BUILD_DIR=/home/travis/Draco/build -e SOURCE_DIR=/home/travis/Draco -e STYLE=${STYLE} -e COVERAGE=${COVERAGE} -e WERROR=${WERROR} -e DRACO_C4=${DRACO_C4} -e AUTODOC=${AUTODOC} -e CLANGTIDY=${CLANGTIDY} -e CI=${CI} kinetictheory/draco-ci-2020nov:${DOCKER_TAG} /bin/bash -l -c '/home/travis/Draco/tools/travis-run-tests.sh' diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml deleted file mode 100644 index 7bcfc7ada..000000000 --- a/.github/workflows/linter.yml +++ /dev/null @@ -1,83 +0,0 @@ ---- -########################### -########################### -## Linter GitHub Actions ## -## github.com/github/super-linter -########################### -########################### -name: Lint Code Base - -# -# Documentation: -# https://help.github.com/en/articles/workflow-syntax-for-github-actions -# - -############################# -# Start the job on all push # -############################# -on: - pull_request: - push: - branches-ignore: - - 'master' - - 'develop' - -env: - PYTHONPATH: /home/runner/work/Draco/Draco/config - -############### -# Set the Job # -############### -jobs: - build: - # Name the Job - name: Lint Code Base - # Set the agent to run on - runs-on: ubuntu-latest - - ################## - # Load all steps # - ################## - steps: - ########################## - # Checkout the code base # - ########################## - - name: Checkout Code - uses: actions/checkout@v2 - with: - # Full git history is needed to get a proper list of changed - # files within `super-linter` - fetch-depth: 0 - - ################################ - # Run Linter against code base # - ################################ - - name: Lint Code Base - uses: github/super-linter@v3 - env: - DEFAULT_BRANCH: develop - LINTER_RULES_PATH: '.' - ERROR_ON_MISSING_EXEC_BIT: true - FILTER_REGEX_EXCLUDE: .*.cc - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - MARKDOWN_CONFIG_FILE: .markdown-lint.json - PYTHON_FLAKE8_CONFIG_FILE: .flake8 - VALIDATE_ALL_CODEBASE: false - VALIDATE_BASH: true - VALIDATE_BASH_EXEC: true - VALIDATE_DOCKERFILE: true - VALIDATE_ENV: true - VALIDATE_HTML: true - VALIDATE_JSON: true - VALIDATE_LATEX: true - VALIDATE_LUA: true - VALIDATE_MARKDOWN: true - VALIDATE_PERL: true - VALIDATE_PYTHON: true - VALIDATE_PYTHON_FLAKE8: true - VALIDATE_POWERSHELL: true - VALIDATE_RUBY: true - VALIDATE_SHELL_SHFMT: true - VALIDATE_XML: true - VALIDATE_YAML: true -...