diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6e2f1b0a..66058375 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -84,6 +84,16 @@ jobs: with: python-version: ${{ matrix.python }} + - name: Get compile errors + run: | + pip3.exe install --user build + pyproject-build.exe > err.txt 2>&1 || true + shell: pwsh + - name: Achrive + uses: actions/upload-artifact@v4 + with: + path: err.txt + - name: Setup tmate session uses: mxschmitt/action-tmate@v3 with: diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b7c64ec..6af0f8dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,11 +142,13 @@ else () gomp ) endif () - target_link_libraries(gaussianfft_gaussianfft PRIVATE - pthread - m - dl - ) + if (NOT WIN32) + target_link_libraries(gaussianfft_gaussianfft PRIVATE + pthread + m + dl + ) + endif () endif () # ---- Install rules ---- diff --git a/utils.py b/utils.py index be6db0ab..c87901cc 100644 --- a/utils.py +++ b/utils.py @@ -94,6 +94,8 @@ def _add_file(repl: str, file_regex): file = file.relative_to(root) except ValueError: if not use_absolute: + # FIXME: There are problems on windows with this... + continue raise name = str(file) if name in files: