Add Copier migration support and update template docs #151
Workflow file for this run
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 copier | |
| source ./check_copier.sh | |
| copier_venv_path=$(mktemp --directory --dry-run) | |
| setup_venv "$copier_venv_path" | |
| stamp "$repo_root" "./static_exemplar" "gtest" "false" | |
| cd static_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 |