pip editable #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pip editable | |
on: | |
workflow_dispatch: | |
# push: | |
jobs: | |
build: | |
name: Build with pip | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Set min macOS version | |
if: runner.os == 'macOS' | |
run: | | |
echo "MACOS_DEPLOYMENT_TARGET=10.14" >> $GITHUB_ENV | |
- name: Dependencies | |
run: | | |
pip install pip -U | |
pip install scikit_build_core nanobind | |
- name: Check versions | |
run: | | |
python --version | |
pip --version | |
cmake --version | |
g++ --version | |
clang++ --version | |
- name: Build and install kima | |
run: | | |
pip install --no-build-isolation -ve . -Ceditable.rebuild=true |