Implementing hierarchical distributor #230
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
| # SPDX-FileCopyrightText: 2025 QDX Technologies. Authored by Ryan Stocks <ryan.stocks00@gmail.com> | |
| # SPDX-License-Identifier: Apache-2.0 | |
| --- | |
| name: macOS | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| env: | |
| CMAKE_CXX_STANDARD: 20 | |
| CMAKE_VERBOSE_MAKEFILE: ON | |
| jobs: | |
| macos-clang: | |
| runs-on: macos-latest | |
| timeout-minutes: 5 | |
| strategy: | |
| matrix: | |
| build-type: [Debug, Release] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install OpenMPI on macOS | |
| shell: bash | |
| run: | | |
| brew install open-mpi | |
| echo "MPI_TYPE=OpenMPI" >> $GITHUB_ENV | |
| - name: Configure CMake on macOS | |
| shell: bash | |
| run: | | |
| cmake -B build \ | |
| -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} \ | |
| -DDYNAMPI_BUILD_TESTS=ON \ | |
| -DDYNAMPI_BUILD_BENCHMARKS=ON \ | |
| -DDYNAMPI_MAX_MPI_RANK=8 | |
| - name: Build on macOS | |
| shell: bash | |
| run: cmake --build build --config ${{ matrix.build-type }} --parallel | |
| - name: Test on macOS | |
| shell: bash | |
| run: | | |
| cd build | |
| echo "Testing with $MPI_TYPE" | |
| export DYNAMPI_MAX_MPI_RANK=8 | |
| ctest --output-on-failure --parallel -C ${{ matrix.build-type }} |