Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,16 @@ jobs:
python -m pip install git+https://github.com/CrayLabs/SmartRedis.git@develop#egg=smartredis
python -m pip install .[dev,mypy]


- name: Install ML Runtimes
if: matrix.subset != 'dragon'
run: smart build --device cpu -v


- name: Install ML Runtimes (with dragon)
if: matrix.subset == 'dragon'
env:
SMARTSIM_DRAGON_TOKEN: ${{ secrets.DRAGON_TOKEN }}

run: |
if [ -n "${SMARTSIM_DRAGON_TOKEN}" ]; then
smart build --device cpu -v --dragon-repo dragonhpc/dragon-nightly --dragon-version 0.10
Expand Down
17 changes: 11 additions & 6 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ build:
os: ubuntu-22.04
tools:
python: "3.10"
jobs:
post_checkout:
commands:
# Cancel building pull requests when there aren't changed in the docs directory or YAML file.
# You can add any other files or directories that you'd like here as well,
# like your docs requirements file, or other files that will change your docs build.
Expand All @@ -19,19 +18,25 @@ build:
then
exit 183;
fi
pre_create_environment:
- git clone --depth 1 https://github.com/CrayLabs/SmartRedis.git smartredis
- git clone --depth 1 https://github.com/CrayLabs/SmartDashboard.git smartdashboard
post_create_environment:
- python -m pip install .[dev,docs]
- pwd
- python -m pip install -e .[dev,docs]
- cd smartredis; python -m pip install .
- cd smartredis/doc; doxygen Doxyfile_c; doxygen Doxyfile_cpp; doxygen Doxyfile_fortran
- ln -s smartredis/examples ./examples
- cd smartdashboard; python -m pip install .
pre_build:
- smart build --device cpu --dragon -v
- |
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(dirname $(find $PWD -name "libdragon.so")) &&
echo $LD_LIBRARY_PATH &&
make docs &&
mkdir -p _readthedocs/ &&
cp -r doc/_build/html/ _readthedocs/
- pip install typing_extensions==4.8.0
- pip install pydantic==1.10.13
- python -m sphinx -b linkcheck doc/ $READTHEDOCS_OUTPUT/linkcheck


# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand Down
Loading
Loading