forked from vilemduha/blendercam
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from joemarshall/numpy_chunk
Make chunk use numpy (and optimise with numba)
- Loading branch information
Showing
42 changed files
with
145,406 additions
and
2,535 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
- name: Cache blender | ||
id: cache-blender | ||
if: runner.os != 'macOS' | ||
uses: actions/cache/restore@v3 | ||
uses: actions/cache/restore@v4 | ||
with: | ||
path: blender | ||
key: ${{ matrix.os }}-${{ matrix.blender_version}}-blender | ||
|
@@ -57,7 +57,7 @@ jobs: | |
shutil.unpack_archive("${{ steps.download.outputs.BLENDER_ARCHIVE }}","blender") | ||
shell: python | ||
- name: Save blender | ||
uses: actions/cache/save@v3 | ||
uses: actions/cache/save@v4 | ||
if: steps.cache-blender.outputs.cache-hit != 'true' && runner.os != 'macOS' | ||
with: | ||
path: blender | ||
|
@@ -79,21 +79,10 @@ jobs: | |
export ADDON_PATH=${PWD}/scripts/addons/blendercam.zip | ||
cd scripts/addons/cam/tests | ||
python install_addon.py ${ADDON_PATH} | ||
python test_suite.py | ||
python test_suite.py -vvv | ||
- uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: blendercam-${{matrix.os}}-${{matrix.blender_version}} | ||
path: ./scripts/addons/cam | ||
rerun-failed-jobs: | ||
runs-on: ubuntu-latest | ||
needs: [ build_and_test ] | ||
if: failure() | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
- name: Rerun failed jobs in the current workflow (because mac blender is unstable) | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
run: gh run rerun ${{ github.run_id }} --failed | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,5 @@ forceSyncWithUpstream | |
.project | ||
|
||
.pydevproject | ||
__pycache__/ | ||
temp_cam/ |
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
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
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
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
Oops, something went wrong.