Add docstrings #63
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: Codegen | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
codegen: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.12 | |
- name: Install Dependencies | |
run: pip install -r requirements.txt | |
- name: Codegen | |
run: python gen_all.py | |
working-directory: codegen | |
- name: Copy outputs to src | |
run: copy "codegen\output\*" "src\gdmath" | |
# - name: Validate | |
# run: pip install . | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: codegen_results | |
path: codegen/output/ | |
retention-days: 5 |