some work on parsing #1280
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: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Install dependencies and requirements | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install setuptools wheel twine state_space_generator | |
python -m pip install -r requirements.txt | |
- name: Install boost | |
id: install-boost | |
run: | | |
bash .github/workflows/scripts/install_boost.sh | |
echo "BOOST_ROOT=${{runner.workspace}}/dlplan/boost_1_82_0" >> "$GITHUB_OUTPUT" | |
- name: Configure CMake | |
run: cmake -DENABLE_TESTING:BOOL=TRUE -S $GITHUB_WORKSPACE -B ${{runner.workspace}}/build | |
env: | |
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }} | |
- name: Build | |
working-directory: ${{runner.workspace}}/build | |
run: export CXXFLAGS="-Werror" && cmake --build . | |
- name: Test | |
working-directory: ${{runner.workspace}}/build/tests | |
run: GTEST_OUTPUT=xml:test-results/ GTEST_COLOR=1 ctest -V |