Skip to content

Commit

Permalink
catch error installing jaxlib
Browse files Browse the repository at this point in the history
  • Loading branch information
swryan committed Jan 8, 2025
1 parent 3a222bc commit 6ec5565
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/dymos_docs_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,11 @@ jobs:
echo "Install jax"
echo "============================================================="
if [[ "${{ matrix.JAX }}" == "latest" ]]; then
python -m pip install jaxlib || true
python -m pip install jax
{
python -m pip install jaxlib
} || {
echo "Failed to install jaxlib..."
}
else
python -m pip install jaxlib==${{ matrix.JAX }} jax==${{ matrix.JAX }}
fi
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/dymos_tests_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,11 @@ jobs:
echo "Install jax"
echo "============================================================="
if [[ "${{ matrix.JAX }}" == "latest" ]]; then
python -m pip install jaxlib || true
{
python -m pip install jaxlib
} || {
echo "Failed to install jaxlib..."
}
python -m pip install jax
else
python -m pip install jaxlib==${{ matrix.JAX }} jax==${{ matrix.JAX }}
Expand Down

0 comments on commit 6ec5565

Please sign in to comment.