more advanced

This commit is contained in:
Bob 2021-08-02 17:34:11 -04:00
parent 22b7e29da5
commit 7dbc466682
2 changed files with 6 additions and 2 deletions

View File

@ -27,8 +27,12 @@ jobs:
# openscad -o "tests/test.stl" "tests/test.scad" # openscad -o "tests/test.stl" "tests/test.scad"
- name: Install openscad - name: Install openscad
run: sudo apt-get install openscad run: sudo apt-get install openscad
- run: which openscad - run: echo "rendering new fixtures..."
- run: 'openscad -o "tests/test.stl" "tests/test.scad"' - run: mkdir tests/output/
- run: 'openscad -o "tests/output/test.stl" "tests/test.scad"'
- run: echo "differencing new fixtures from old fixtures..."
- run: openscad /dev/null -D 'difference(){import("tests/test.stl");import("tests/otuput/test.stl");}' -o output.stl
- run: du -B=1 output.stl
- run: | - run: |
git config --global user.name 'KeyV2 GHA Bot' git config --global user.name 'KeyV2 GHA Bot'
git config --global user.email 'keyv2-gha-bot@users.noreply.github.com' git config --global user.email 'keyv2-gha-bot@users.noreply.github.com'