Modified code generation method to cater multiple namespaces #35
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: pre-commit | |
on: [push, pull_request] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: cvmfs-contrib/github-action-cvmfs@v2 | |
- uses: aidasoft/run-lcg-view@v3 | |
with: | |
release-platform: LCG_99/x86_64-centos7-clang10-opt | |
run: | | |
export PYTHONPATH=$(python -m site --user-site):$PYTHONPATH | |
export PATH=/root/.local/bin:$PATH | |
pip install argparse --user | |
pip install pre-commit --user | |
mkdir build | |
cd build | |
cmake .. -DENABLE_SIO=ON \ | |
-DCMAKE_CXX_STANDARD=17 \ | |
-DCMAKE_CXX_FLAGS=" -fdiagnostics-color=always -Werror "\ | |
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ | |
-DUSE_EXTERNAL_CATCH2=OFF | |
ln -s $(pwd)/compile_commands.json ../ | |
cd .. | |
pre-commit run --show-diff-on-failure \ | |
--color=always \ | |
--all-files |