ENH: Adding context markdown for LLM generation #90
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Unit_Tests | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| #env: | |
| # # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | |
| jobs: | |
| # This workflow contains a single job called "build" | |
| build: | |
| # | |
| name: ${{ matrix.config.name }} | |
| runs-on: ${{ matrix.config.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| - {name: "TEST_UBUNTU_SERIAL_DEBUG", os: ubuntu-latest, debug: "enabled", cc: "gcc", cxx: "g++", kokkos_backend: "serial"} | |
| - {name: "TEST_UBUNTU_OPENMP_DEBUG", os: ubuntu-latest, debug: "enabled", cc: "gcc", cxx: "g++", kokkos_backend: "openmp"} | |
| - {name: "TEST_UBUNTU_SERIAL_RELEASE", os: ubuntu-latest, debug: "disabled", cc: "gcc", cxx: "g++", kokkos_backend: "serial"} | |
| - {name: "TEST_UBUNTU_OPENMP_RELEASE", os: ubuntu-latest, debug: "disabled", cc: "gcc", cxx: "g++", kokkos_backend: "openmp"} | |
| - {name: "TEST_MAC_SERIAL_DEBUG", os: macos-14, debug: "enabled", cc: "clang", cxx: "clang++", kokkos_backend: "serial"} | |
| - {name: "TEST_MAC_SERIAL_RELEASE", os: macos-14, debug: "disabled", cc: "clang", cxx: "clang++", kokkos_backend: "serial"} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Checkout submodules | |
| run: git submodule update --init --recursive | |
| # Build MATAR tests using the build-matar.sh script | |
| - name: Build MATAR Tests | |
| shell: bash | |
| run: | | |
| cd ${{ github.workspace }}/scripts | |
| source build-matar.sh \ | |
| --execution=test \ | |
| --kokkos_build_type=${{ matrix.config.kokkos_backend }} \ | |
| --build_action=full-app \ | |
| --machine=linux \ | |
| --debug=${{ matrix.config.debug }} \ | |
| --build_cores=1 | |
| # Run the tests | |
| - name: Run Tests | |
| shell: bash | |
| run: | | |
| cd ${{ github.workspace }}/build-matar-${{ matrix.config.kokkos_backend }}/test_cases | |
| ctest --output-on-failure | |