Skip to content

Commit 32f4e9b

Browse files
committed
ci: update paths for workflows
Point the Python wheel building workflows to the new package directory in `python/finufft` instead of the repository root.
1 parent c3e3ea3 commit 32f4e9b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/python_cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ jobs:
5858
echo CMAKE_ARGS="-DFINUFFT_ARCH_FLAGS=${{ matrix.arch_flags }}" >> $GITHUB_ENV
5959
shell: bash
6060
- name: Build
61-
run: python3 -m pip install ${{ github.workspace }} --verbose
61+
run: python3 -m pip install ${{ github.workspace }}/python/finufft --verbose
6262
- name: Test
6363
run: python3 -m pytest ${{ github.workspace }}/python/finufft/test

.github/workflows/python_skbuild_wheels.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515

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

4042
- name: Build wheels
4143
uses: pypa/[email protected]
44+
with:
45+
package-dir: 'python/finufft'
4246
env:
4347
# Make sure to install the ARM64-specific versions of FFTW and GCC.
4448
# Perhaps this is done automatically on the macos-14 image. We should
@@ -77,6 +81,8 @@ jobs:
7781
7882
- name: Build wheels
7983
uses: pypa/[email protected]
84+
with:
85+
package-dir: 'python/finufft'
8086
env:
8187
# This is required to force cmake to avoid using MSVC (the default).
8288
# By setting the generator to Ninja, cmake will pick gcc (mingw64)

0 commit comments

Comments
 (0)