Skip to content

Commit

Permalink
Add codegen workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
shBLOCK committed Sep 5, 2023
1 parent c6fcc6b commit 7effcd0
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Codegen

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
codegen:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}

- name: Codegen - Vector
run: python codegen/vector_codegen.py

- 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/

0 comments on commit 7effcd0

Please sign in to comment.