First Github actions tests #1
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: Run tests | ||
on: [push] | ||
jobs: | ||
Run-Test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install dependencies | ||
- run: | | ||
apt update | ||
apt install cmake openmpi-bin openmpi-common libopenmpi-dev cmake libmetis-dev | ||
- name: Build ParGibbs | ||
- run: | | ||
mkdir build | ||
cmake -S . -B build -DUSE_METIS=True | ||
cmake --build build | ||
- name: Run tests | ||
- run: ./build/tests/tests | ||