Skip to content

Commit

Permalink
Cython setup: more descriptive output on the compiled files and suppo…
Browse files Browse the repository at this point in the history
…rt cython submodules
  • Loading branch information
jfranmatheu committed Mar 6, 2025
1 parent 2bb8842 commit 27560e4
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/build_cython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,28 @@ jobs:
shell: bash
run: |
cd retopoflow/cy
echo "Compiled files:"
ls -la *.so || ls -la *.pyd
echo "Current directory contents:"
ls -la
echo -e "\nSearching for compiled files recursively:"
find . -type f \( -name "*.so" -o -name "*.pyd" \) || true
# Don't fail if no files are found
if ! find . -type f \( -name "*.so" -o -name "*.pyd" \) | grep -q .; then
echo "No compiled extensions found. This might indicate a build issue."
# Continue without failing
exit 0
fi
- name: Upload compiled extensions
uses: actions/upload-artifact@v4
if: always() # Try to upload even if previous step failed
with:
name: compiled-extensions-${{ matrix.os }}
path: |
retopoflow/cy/*.so
retopoflow/cy/*.pyd
retopoflow/cy/**/*.so
retopoflow/cy/**/*.pyd
if-no-files-found: warn # Change from error to warn
retention-days: 7

commit-files:
Expand Down

0 comments on commit 27560e4

Please sign in to comment.