Auto-update pre-commit hooks #189
This file contains hidden or 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
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| name: TODO Exemplar Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| static-exemplar-test: | |
| runs-on: ubuntu-latest | |
| container: ghcr.io/bemanproject/infra-containers-gcc:latest | |
| name: "TODO exemplar smoke test" | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Test static exemplar | |
| run: | | |
| cd cookiecutter | |
| source ./check_cookiecutter.sh | |
| cookiecutter_venv_path=$(mktemp --directory --dry-run) | |
| setup_venv "$cookiecutter_venv_path" | |
| stamp "$PWD" "./static_exemplar" "gtest" "false" | |
| cd static_exemplar/exemplar | |
| grep -r 'identity' . && exit 1 | |
| find . -name '*identity*' | grep . && exit 1 | |
| cmake -B build -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=./infra/cmake/use-fetch-content.cmake -DCMAKE_CXX_STANDARD=20 -DCMAKE_INSTALL_PREFIX=$PWD/dist | |
| cmake --build build | |
| ctest --test-dir build | |
| cmake --install build |