Fetch nanobind with cmake (#2949)

This commit is contained in:
Cheng
2025-12-24 10:23:45 +09:00
committed by GitHub
parent 1d21d0e696
commit 26dfe4f651
10 changed files with 63 additions and 75 deletions
+2 -2
View File
@@ -48,9 +48,9 @@ runs:
echo "::group::Setup Python venv"
python -m venv .venv
source .venv/bin/activate
pip install setuptools cmake nanobind==2.10.2
pip install setuptools cmake typing_extensions
echo PATH=$PATH >> $GITHUB_ENV
# Make cmake search .venv for nanobind
# Search python packages in .venv
echo PYTHONPATH=`python -c 'import sys; print(sys.path[-1])'` >> $GITHUB_ENV
echo "::endgroup::"