Skip to content

Commit

Permalink
ci: update paths for workflows
Browse files Browse the repository at this point in the history
Point the Python wheel building workflows to the new package directory
in `python/finufft` instead of the repository root.
  • Loading branch information
janden committed Jul 15, 2024
1 parent c3e3ea3 commit 32f4e9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ jobs:
echo CMAKE_ARGS="-DFINUFFT_ARCH_FLAGS=${{ matrix.arch_flags }}" >> $GITHUB_ENV
shell: bash
- name: Build
run: python3 -m pip install ${{ github.workspace }} --verbose
run: python3 -m pip install ${{ github.workspace }}/python/finufft --verbose
- name: Test
run: python3 -m pytest ${{ github.workspace }}/python/finufft/test
6 changes: 6 additions & 0 deletions .github/workflows/python_skbuild_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:

- name: Build wheels
uses: pypa/[email protected]
with:
package-dir: 'python/finufft'
env:
CIBW_BEFORE_ALL_MACOS: brew install gcc@14 fftw
# Need following versions of GCC for compatibility with fftw
Expand All @@ -39,6 +41,8 @@ jobs:

- name: Build wheels
uses: pypa/[email protected]
with:
package-dir: 'python/finufft'
env:
# Make sure to install the ARM64-specific versions of FFTW and GCC.
# Perhaps this is done automatically on the macos-14 image. We should
Expand Down Expand Up @@ -77,6 +81,8 @@ jobs:
- name: Build wheels
uses: pypa/[email protected]
with:
package-dir: 'python/finufft'
env:
# This is required to force cmake to avoid using MSVC (the default).
# By setting the generator to Ninja, cmake will pick gcc (mingw64)
Expand Down

0 comments on commit 32f4e9b

Please sign in to comment.