Skip to content

added comment to benchmark #24

added comment to benchmark

added comment to benchmark #24

Workflow file for this run

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 boost
id: install-boost
run: |
bash .github/workflows/scripts/install_boost.sh
echo "BOOST_ROOT=${{runner.workspace}}/Loki/boost_1_84_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