[wpimath] Use jinja for codegen (#3574)

While not really needed for wpimath, it will make more complex codegen
in the future significantly easier.
This commit is contained in:
Peter Johnson
2021-09-17 00:10:29 -07:00
committed by GitHub
parent 725251d294
commit 263a248119
11 changed files with 143 additions and 124 deletions

View File

@@ -63,6 +63,8 @@ jobs:
sudo apt-get install -y clang-tidy-12 clang-format-12
- name: Install wpiformat
run: pip3 install wpiformat
- name: Install jinja
run: python -m pip install jinja2
- name: Create compile_commands.json
run: mkdir build-cmake && cd build-cmake && cmake -DWITH_OLD_COMMANDS=ON -DWITH_EXAMPLES=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=YES ..
- name: List changed files