Skip to content

Commit

Permalink
Add manually
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Dec 5, 2024
1 parent ff719f3 commit da06b17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
with:
cache-compiled: "true"
cache-registries: "true"
- name: "Manually add Conda.jl folder due to bug in its build step"
# https://github.com/JuliaPy/Conda.jl/issues/251
run: |
mkdir -p "/home/runner/.julia/conda/3/x86_64"
- uses: prefix-dev/[email protected]
with:
pixi-version: "latest"
Expand Down
6 changes: 3 additions & 3 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ install = { depends_on = [
# Julia
# Clear SSL_CERT_DIR to avoid Julia warnings, see https://github.com/JuliaLang/Downloads.jl/issues/244
update-registry-julia = { cmd = "julia --eval='using Pkg; Registry.update()'", env = { SSL_CERT_DIR = "" } }
update-manifest-julia = { cmd = "julia --project --eval='using Pkg; Pkg.update()'", env = { SSL_CERT_DIR = "", CONDA_JL_HOME = "$CONDA_PREFIX"} }
instantiate-julia = { cmd = "julia --project --eval='using Pkg; Pkg.instantiate()'", env = { SSL_CERT_DIR = "", CONDA_JL_HOME = "$CONDA_PREFIX" } }
update-manifest-julia = { cmd = "julia --project --eval='using Pkg; Pkg.update()'", env = { SSL_CERT_DIR = "" } }
instantiate-julia = { cmd = "julia --project --eval='using Pkg; Pkg.instantiate()'", env = { SSL_CERT_DIR = "" } }
initialize-julia = { depends_on = [
"update-registry-julia",
"instantiate-julia",
Expand All @@ -50,7 +50,7 @@ quarto-preview = { cmd = "quarto preview docs", depends_on = [
"generate-testmodels",
] }
quarto-check = { cmd = "quarto check all", depends_on = ["quartodoc-build"] }
quarto-render = { cmd = "julia --project --eval 'using Pkg; Pkg.build(\"IJulia\")' && quarto render docs --to html --execute", env = { CONDA_JL_HOME = "$CONDA_PREFIX" }, depends_on = [
quarto-render = { cmd = "julia --project --eval 'using Pkg; Pkg.build(\"IJulia\")' && quarto render docs --to html --execute", depends_on = [
"quartodoc-build",
"generate-testmodels",
] }
Expand Down

0 comments on commit da06b17

Please sign in to comment.