cleanup in ci and trying to fix clang+mpich pipeline #4
This file contains 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: ci | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-22.04 | |
compiler: | |
- llvm-18 | |
- gcc-13 | |
mpi: | |
- 'mpich' | |
- 'openmpi' | |
- 'intelmpi' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup MPI | |
uses: mpi4py/setup-mpi@v1 | |
with: | |
mpi: ${{ matrix.mpi }} | |
- name: Setup Cpp | |
uses: aminya/setup-cpp@v1 | |
with: | |
compiler: ${{ matrix.compiler }} | |
cmake: 3.22.1 | |
ninja: 1.10.1 | |
conan: true | |
- name: Setup Dependencies via Conan | |
run: | | |
conan install conanfile.txt --build=missing | |
- name: Configure CMake Project | |
run: | | |
cmake -S . -B ./build -G "Ninja" -DCMAKE_TOOLCHAIN_FILE=./build/Release/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON | |
- name: Build Project | |
run: | | |
cmake --build ./build -v | |
- name: Run Tests | |
working-directory: ./build | |
run: | | |
ctest | |