Skip to content

Commit

Permalink
FIX: correctly install Julia in RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed May 9, 2024
1 parent 78b0215 commit b3bd2d5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ build:
- curl -LsSf https://astral.sh/uv/install.sh | sh
- |-
/home/docs/.cargo/bin/uv pip install --system -c .constraints/py3.10.txt -e .[doc]
- version=$(sed -n '3p' docs/report/019/Manifest.toml)
- version=${version:17:-1}
- major_version=${version:0:-2}
- filename=julia-${version}-linux-x86_64.tar.gz
- wget -q https://julialang-s3.julialang.org/bin/linux/x64/${major_version}/${filename}
- mkdir julia
- tar xzf ${filename} -C ~/.local --strip-components=1
- |-
version=$(sed -n '3p' docs/report/019/Manifest.toml | awk -F'"' '{print $2}')
major_version=$(echo $version | cut -d'.' -f1,2)
filename=julia-${version}-linux-x86_64.tar.gz
wget -q https://julialang-s3.julialang.org/bin/linux/x64/${major_version}/${filename}
mkdir julia
tar xzf ${filename} -C ~/.local --strip-components=1
- julia docs/InstallIJulia.jl

0 comments on commit b3bd2d5

Please sign in to comment.