Skip to content

Bugfixing

Bugfixing #4

Workflow file for this run

name: unittest
on:
- push
jobs:
unittest:
name: unittest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: install-packages
run: |
sudo apt-get update
sudo apt-get install libomp-dev libopenmpi-dev openmpi-bin openmpi-common ninja-build
- name: build-mpi
run: |
mkdir build-mpi
cd build-mpi
cmake ..
ninja
ninja test
cd ..
- name: build-nompi
run: |
mkdir build-nompi
cd build-nompi
cmake .. -DUSE_MPI=OFF
ninja
ninja test
cd ..