rework Hash and EqualTo. Generalized PDDLFactory to UniqueValueTypeFa… #328
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: Googletest Unit Tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Loki | |
uses: actions/checkout@v2 | |
- name: Configure, Build, and Install Dependencies | |
run: | | |
cd dependencies | |
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/dependencies/installs | |
cmake --build build | |
# Debug | |
- name: Debug, Configure, and Build Loki | |
run: | | |
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON -S . -B build_debug -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/dependencies/installs | |
cmake --build build_debug | |
- name: Debug Test | |
working-directory: build_debug/tests/unit | |
run: GTEST_OUTPUT=xml:test-results/ GTEST_COLOR=1 ctest -V | |
# Release | |
- name: Release, Configure, and Build Loki | |
run: | | |
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON -S . -B build_release -DCMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/dependencies/installs | |
cmake --build build_release | |
- name: Release Test | |
working-directory: build_release/tests/unit | |
run: GTEST_OUTPUT=xml:test-results/ GTEST_COLOR=1 ctest -V |