Merged compute_source_interaction routine #405
Workflow file for this run
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: Unittests | |
on: [push] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check GNU and Cmake versions | |
run: gcc --version && cmake --version | |
- name: Checkout repository | |
uses: actions/checkout@v1 | |
- name: Get submodules | |
run: git submodule init | |
&& git submodule update | |
- name: Configure | |
run: cmake -S . -B build -DBUILD_TESTS=ON | |
- name: Build | |
run: cmake --build build | |
- name: Run all tests | |
run: cd build/tests/unit-tests | |
&& ctest |