Skip to content

Commit

Permalink
Refactor Python utilities (#37)
Browse files Browse the repository at this point in the history
This PR merges an upgrade of the Python utilities with a much more capable
set of common helper functions, and a new common installer in the root
directory which can be used to install multiple layers at the same time. 

This is primarily useful to allow Khronos validation to be installed alongside
our layers, but can be used to install multiple layers too.
  • Loading branch information
solidpixel authored Jan 7, 2025
1 parent 0625d2c commit 9434893
Show file tree
Hide file tree
Showing 35 changed files with 3,345 additions and 831 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,21 @@ jobs:
- name: Check code style
run: |
python3 -m pycodestyle ./*.py
python3 -m pycodestyle ./lglpy
python3 -m pycodestyle ./generator
- name: Check typing
run: |
python3 -m mypy ./*.py
python3 -m mypy ./lglpy
python3 -m mypy ./generator
- name: Run unit tests
# Note: Only run tests that do not require a connected device
run: |
python3 -m lglpy.ui.test
build-ubuntu-x64-clang:
name: Ubuntu x64 Clang
runs-on: ubuntu-22.04
Expand Down
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ __pycache__
# CMake build directories
build*

# Data files and build outputs
*.gputl
*.log
*.so

# Build and debug output files
/.cache
/bin*
/log*
/scratch*
/out_*
/x_*

Loading

0 comments on commit 9434893

Please sign in to comment.