diff --git a/.github/workflows/all_push.yml b/.github/workflows/all_push.yml index cfc4011..6cbf9ad 100644 --- a/.github/workflows/all_push.yml +++ b/.github/workflows/all_push.yml @@ -31,6 +31,7 @@ jobs: - name: Install run: | cmake --install ${{github.workspace}}/build + python -m pip install "scikit-build-core" python -m pip install ".[dev]" --no-build-isolation - name: Test C++ env: diff --git a/Makefile b/Makefile index 89137dc..4d2d966 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,19 @@ # BUILD ############################################################################### -# Build the C++/Python package will try to reuse existing build directory +# Build the C++/Python package from scratch (ignore existing build dir) .PHONY: build build: + python -m pip install -e ".[dev]" + +# Build the C++/Python package will try to reuse existing build directory, will +# not always work on a fresh checkout bc it requires prereqs to be installed. +# See https://scikit-build-core.readthedocs.io/en/latest/configuration.html#editable-installs +.PHONY: rebuild +rebuild: python -m pip install -e ".[dev]" --no-build-isolation + ############################################################################### # DOCS ###############################################################################