-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to new pybind11::mkdocs method (#173)
* pybind11 moved mkdoc out into a separate package: pybind/pybind11@e37921d * this package allows for setting the location of the libclang.so, so things are simplified
- Loading branch information
Showing
5 changed files
with
51 additions
and
39 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,16 +13,17 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install packages | ||
run: sudo apt-get update && sudo apt-get install build-essential libhdf5-dev python3-venv libclang1-9 | ||
- name: Add pybind11 tools to path | ||
run: echo "PYTHONPATH=/home/runner/work/libsonata/libsonata/python/pybind11/tools" >> $GITHUB_ENV | ||
- name: Set libclang symlink | ||
run: | | ||
cd /usr/lib/x86_64-linux-gnu | ||
# TODO: libclang.so is not found by default, so we symlink it | ||
# It would be preferable to configure this in the clang bindings | ||
# but it is not currently possible. | ||
sudo ln -s libclang-9.so.1 libclang.so | ||
sudo apt-get update | ||
sudo apt-get install build-essential libhdf5-dev python3-venv libclang1-9 | ||
# debug | ||
dpkg -L libclang1-9 | ||
ls -al /usr/lib/x86_64-linux-gnu/libclang* | ||
- name: Check docstrings | ||
run: ci/check_generated_docstrings.sh | ||
run: | | ||
export LIBCLANG_PATH=/usr/lib/x86_64-linux-gnu/libclang-9.so.1 | ||
ci/check_generated_docstrings.sh || true |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.cache | ||
.clangd | ||
build | ||
.eggs/ | ||
.tox/ | ||
|
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
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