Skip to content

Commit

Permalink
General: Adopt pitchfork project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
stotko committed Aug 9, 2023
1 parent 92ad09a commit ff219a5
Show file tree
Hide file tree
Showing 130 changed files with 157 additions and 158 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@ jobs:
- name: Install OpenMP
shell: bash
run: |
bash scripts/utils/install_openmp_ubuntu.sh
bash tools/ubuntu/install_openmp.sh
- name: Install clang-tidy
shell: bash
run: |
bash scripts/utils/install_clang_tidy_ubuntu.sh
bash tools/ubuntu/install_clang_tidy.sh
- name: Download dependencies
shell: bash
run: |
bash scripts/utils/download_dependencies.sh
bash tools/dev/download_dependencies.sh
- name: Configure project
shell: bash
run: |
bash scripts/ci/configure_openmp_clang_tidy.sh
bash tools/backend/configure_openmp_clang_tidy.sh
- name: Build project
shell: bash
run: |
bash scripts/build.sh Debug
bash tools/build.sh Debug
Cppcheck:
runs-on: ubuntu-22.04
Expand All @@ -49,24 +49,24 @@ jobs:
- name: Install OpenMP
shell: bash
run: |
bash scripts/utils/install_openmp_ubuntu.sh
bash tools/ubuntu/install_openmp.sh
- name: Install cppcheck
shell: bash
run: |
bash scripts/utils/install_cppcheck_ubuntu.sh
bash tools/ubuntu/install_cppcheck.sh
- name: Download dependencies
shell: bash
run: |
bash scripts/utils/download_dependencies.sh
bash tools/dev/download_dependencies.sh
- name: Configure project
shell: bash
run: |
bash scripts/ci/configure_openmp_cppcheck.sh
bash tools/backend/configure_openmp_cppcheck.sh
- name: Build project
shell: bash
run: |
bash scripts/build.sh Debug
bash tools/build.sh Debug
12 changes: 6 additions & 6 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,32 @@ jobs:
- name: Install OpenMP
shell: bash
run: |
bash scripts/utils/install_openmp_ubuntu.sh
bash tools/ubuntu/install_openmp.sh
- name: Install lcov
shell: bash
run: |
bash scripts/utils/install_lcov_ubuntu.sh
bash tools/ubuntu/install_lcov.sh
- name: Download dependencies
shell: bash
run: |
bash scripts/utils/download_dependencies.sh
bash tools/dev/download_dependencies.sh
- name: Configure project
shell: bash
run: |
bash scripts/ci/configure_openmp_lcov.sh
bash tools/backend/configure_openmp_lcov.sh
- name: Build project
shell: bash
run: |
bash scripts/build.sh Debug
bash tools/build.sh Debug
- name: Run coverage
shell: bash
run: |
bash scripts/ci/run_coverage.sh
bash tools/dev/run_coverage.sh
- name: Upload coverage report
uses: codecov/codecov-action@v3
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,27 @@ jobs:
- name: Install OpenMP
shell: bash
run: |
bash scripts/utils/install_openmp_ubuntu.sh
bash tools/ubuntu/install_openmp.sh
- name: Install docs dependencies
shell: bash
run: |
bash scripts/utils/install_docs_dependencies_ubuntu.sh
bash tools/ubuntu/install_docs_dependencies.sh
- name: Download dependencies
shell: bash
run: |
bash scripts/utils/download_dependencies.sh
bash tools/dev/download_dependencies.sh
- name: Configure project
shell: bash
run: |
bash scripts/ci/configure_openmp_documentation.sh
bash tools/backend/configure_openmp_documentation.sh
- name: Build documentation
shell: bash
run: |
bash scripts/utils/build_documentation.sh
bash tools/dev/build_documentation.sh
- name: Deploy documentation
uses: JamesIves/github-pages-deploy-action@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,24 @@ jobs:
- name: Install OpenMP
shell: bash
run: |
bash scripts/utils/install_openmp_ubuntu.sh
bash tools/ubuntu/install_openmp.sh
- name: Install clang-format
shell: bash
run: |
bash scripts/utils/install_clang_format_ubuntu2004.sh
bash tools/ubuntu/install_clang_format.sh
- name: Download dependencies
shell: bash
run: |
bash scripts/utils/download_dependencies.sh
bash tools/dev/download_dependencies.sh
- name: Configure project
shell: bash
run: |
bash scripts/ci/configure_openmp.sh
bash tools/backend/configure_openmp.sh
- name: Check style
shell: bash
run: |
bash scripts/utils/check_code_style.sh
bash tools/dev/check_code_style.sh
40 changes: 20 additions & 20 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,52 +30,52 @@ jobs:
- name: Install OpenMP
shell: bash
run: |
bash scripts/utils/install_openmp_ubuntu.sh
bash tools/ubuntu/install_openmp.sh
- name: Download dependencies
shell: bash
run: |
bash scripts/utils/download_dependencies.sh
bash tools/dev/download_dependencies.sh
- name: Set C/C++ compiler
shell: bash
run: |
bash scripts/utils/set_cxx_compiler_ubuntu.sh ${{ matrix.CC }} ${{ matrix.CXX }}
bash tools/ubuntu/set_cxx_compiler.sh ${{ matrix.CC }} ${{ matrix.CXX }}
- name: Configure project
shell: bash
run: |
bash scripts/ci/configure_openmp.sh ${{ matrix.BuildType }} -DSTDGPU_BUILD_SHARED_LIBS=${{ matrix.SharedLibs }} -DSTDGPU_USE_32_BIT_INDEX=${{ matrix.Use32BitIndex }}
bash tools/backend/configure_openmp.sh ${{ matrix.BuildType }} -DSTDGPU_BUILD_SHARED_LIBS=${{ matrix.SharedLibs }} -DSTDGPU_USE_32_BIT_INDEX=${{ matrix.Use32BitIndex }}
- name: Build project
shell: bash
run: |
bash scripts/build.sh ${{ matrix.BuildType }}
bash tools/build.sh ${{ matrix.BuildType }}
- name: Run tests
shell: bash
run: |
bash scripts/run_tests.sh ${{ matrix.BuildType }}
bash tools/run_tests.sh ${{ matrix.BuildType }}
- name: Verify headers
shell: bash
run: |
bash scripts/utils/verify_headers.sh
bash tools/dev/verify_headers.sh
- name: Install project
shell: bash
run: |
bash scripts/install.sh ${{ matrix.BuildType }}
bash tools/install.sh ${{ matrix.BuildType }}
- name: Check linking to installed project
shell: bash
run: |
bash scripts/ci/check_install_openmp.sh ${{ matrix.BuildType }}
bash tools/backend/check_install_openmp.sh ${{ matrix.BuildType }}
- name: Uninstall project
shell: bash
run: |
bash scripts/uninstall.sh ${{ matrix.BuildType }}
bash tools/uninstall.sh ${{ matrix.BuildType }}
Ubuntu-2204:
runs-on: ubuntu-22.04
Expand All @@ -98,49 +98,49 @@ jobs:
- name: Install OpenMP
shell: bash
run: |
bash scripts/utils/install_openmp_ubuntu.sh
bash tools/ubuntu/install_openmp.sh
- name: Download dependencies
shell: bash
run: |
bash scripts/utils/download_dependencies.sh
bash tools/dev/download_dependencies.sh
- name: Set C/C++ compiler
shell: bash
run: |
bash scripts/utils/set_cxx_compiler_ubuntu.sh ${{ matrix.CC }} ${{ matrix.CXX }}
bash tools/ubuntu/set_cxx_compiler.sh ${{ matrix.CC }} ${{ matrix.CXX }}
- name: Configure project
shell: bash
run: |
bash scripts/ci/configure_openmp.sh ${{ matrix.BuildType }} -DSTDGPU_BUILD_SHARED_LIBS=${{ matrix.SharedLibs }} -DSTDGPU_USE_32_BIT_INDEX=${{ matrix.Use32BitIndex }}
bash tools/backend/configure_openmp.sh ${{ matrix.BuildType }} -DSTDGPU_BUILD_SHARED_LIBS=${{ matrix.SharedLibs }} -DSTDGPU_USE_32_BIT_INDEX=${{ matrix.Use32BitIndex }}
- name: Build project
shell: bash
run: |
bash scripts/build.sh ${{ matrix.BuildType }}
bash tools/build.sh ${{ matrix.BuildType }}
- name: Run tests
shell: bash
run: |
bash scripts/run_tests.sh ${{ matrix.BuildType }}
bash tools/run_tests.sh ${{ matrix.BuildType }}
- name: Verify headers
shell: bash
run: |
bash scripts/utils/verify_headers.sh
bash tools/dev/verify_headers.sh
- name: Install project
shell: bash
run: |
bash scripts/install.sh ${{ matrix.BuildType }}
bash tools/install.sh ${{ matrix.BuildType }}
- name: Check linking to installed project
shell: bash
run: |
bash scripts/ci/check_install_openmp.sh ${{ matrix.BuildType }}
bash tools/backend/check_install_openmp.sh ${{ matrix.BuildType }}
- name: Uninstall project
shell: bash
run: |
bash scripts/uninstall.sh ${{ matrix.BuildType }}
bash tools/uninstall.sh ${{ matrix.BuildType }}
32 changes: 16 additions & 16 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,42 +24,42 @@ jobs:
- name: Download dependencies
shell: bash
run: |
bash scripts/utils/download_dependencies.sh
bash tools/dev/download_dependencies.sh
- name: Configure project
shell: bash
run: |
bash scripts/ci/configure_openmp.sh ${{ matrix.BuildType }} -DSTDGPU_BUILD_SHARED_LIBS=${{ matrix.SharedLibs }} -DSTDGPU_USE_32_BIT_INDEX=${{ matrix.Use32BitIndex }} -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE
bash tools/backend/configure_openmp.sh ${{ matrix.BuildType }} -DSTDGPU_BUILD_SHARED_LIBS=${{ matrix.SharedLibs }} -DSTDGPU_USE_32_BIT_INDEX=${{ matrix.Use32BitIndex }} -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE
- name: Build project
shell: bash
run: |
bash scripts/build.sh ${{ matrix.BuildType }}
bash tools/build.sh ${{ matrix.BuildType }}
- name: Run tests
shell: bash
run: |
bash scripts/run_tests.sh ${{ matrix.BuildType }}
bash tools/run_tests.sh ${{ matrix.BuildType }}
- name: Verify headers
shell: bash
run: |
bash scripts/utils/verify_headers.sh
bash tools/dev/verify_headers.sh
- name: Install project
shell: bash
run: |
bash scripts/install.sh ${{ matrix.BuildType }}
bash tools/install.sh ${{ matrix.BuildType }}
- name: Check linking to installed project
shell: bash
run: |
bash scripts/ci/check_install_openmp.sh ${{ matrix.BuildType }}
bash tools/backend/check_install_openmp.sh ${{ matrix.BuildType }}
- name: Uninstall project
shell: bash
run: |
bash scripts/uninstall.sh ${{ matrix.BuildType }}
bash tools/uninstall.sh ${{ matrix.BuildType }}
Windows-2022:
runs-on: windows-2022
Expand All @@ -76,39 +76,39 @@ jobs:
- name: Download dependencies
shell: bash
run: |
bash scripts/utils/download_dependencies.sh
bash tools/dev/download_dependencies.sh
- name: Configure project
shell: bash
run: |
bash scripts/ci/configure_openmp.sh ${{ matrix.BuildType }} -DSTDGPU_BUILD_SHARED_LIBS=${{ matrix.SharedLibs }} -DSTDGPU_USE_32_BIT_INDEX=${{ matrix.Use32BitIndex }} -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE
bash tools/backend/configure_openmp.sh ${{ matrix.BuildType }} -DSTDGPU_BUILD_SHARED_LIBS=${{ matrix.SharedLibs }} -DSTDGPU_USE_32_BIT_INDEX=${{ matrix.Use32BitIndex }} -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE
- name: Build project
shell: bash
run: |
bash scripts/build.sh ${{ matrix.BuildType }}
bash tools/build.sh ${{ matrix.BuildType }}
- name: Run tests
shell: bash
run: |
bash scripts/run_tests.sh ${{ matrix.BuildType }}
bash tools/run_tests.sh ${{ matrix.BuildType }}
- name: Verify headers
shell: bash
run: |
bash scripts/utils/verify_headers.sh
bash tools/dev/verify_headers.sh
- name: Install project
shell: bash
run: |
bash scripts/install.sh ${{ matrix.BuildType }}
bash tools/install.sh ${{ matrix.BuildType }}
- name: Check linking to installed project
shell: bash
run: |
bash scripts/ci/check_install_openmp.sh ${{ matrix.BuildType }}
bash tools/backend/check_install_openmp.sh ${{ matrix.BuildType }}
- name: Uninstall project
shell: bash
run: |
bash scripts/uninstall.sh ${{ matrix.BuildType }}
bash tools/uninstall.sh ${{ matrix.BuildType }}
Loading

0 comments on commit ff219a5

Please sign in to comment.