-
Notifications
You must be signed in to change notification settings - Fork 23
/
pixi.toml
50 lines (47 loc) · 1.96 KB
/
pixi.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[project]
name = "Wflow.jl"
authors = [
"Joost Buitink <[email protected]",
"Willem van Verseveld <[email protected]",
"Hofer-Julian <[email protected]>",
]
channels = ["conda-forge"]
platforms = ["win-64", "linux-64"]
[tasks]
# Installation
install-julia = "juliaup add 1.10.5 && juliaup override unset && juliaup override set 1.10.5"
# Julia
update-registry-julia = "julia --eval='using Pkg; Registry.update()'"
instantiate-julia = {cmd = "julia --project --eval='using Pkg; Pkg.instantiate()'",env = { JULIA_SSL_CA_ROOTS_PATH = "" } }
initialize-julia = { depends_on = [
"update-registry-julia",
"instantiate-julia",
] }
# Build
instantiate-create-binaries = { cmd = "julia --project --eval='using Pkg; Pkg.instantiate()'", cwd = "build/create_binaries" }
instantiate-wflow-cli = { cmd = "julia --project --eval='using Pkg; Pkg.instantiate()'", cwd = "build/wflow_cli" }
download-test-data = { cmd = "julia --project download_test_data.jl", cwd = "build/create_binaries", depends_on = [
"initialize-julia",
"instantiate-create-binaries",
] }
build-wflow-cli = { cmd = "julia --project create_app.jl", cwd = "build/create_binaries", depends_on = [
"download-test-data",
"instantiate-wflow-cli",
], env = { JULIA_SSL_CA_ROOTS_PATH = "" } }
# Test
test-wflow-cli = { cmd = "julia --project --eval 'using Pkg; Pkg.test()'", cwd = "build/wflow_cli", depends_on = [
"download-test-data",
] }
test-wflow-cov = { cmd = "julia --project --eval 'using Pkg; Pkg.test(coverage=true, julia_args=[\"--check-bounds=yes\"])'", depends_on = [
"initialize-julia",
] }
# Server
test-wflow-server = { cmd = "julia --project=server --eval 'using Pkg; Pkg.test(\"WflowServer\", coverage=true)'", depends_on = [
"instantiate-wflow-server",
] }
instantiate-wflow-server = "julia --project=server --eval 'using Pkg; Pkg.instantiate(); Pkg.develop(path=\"./\")'"
[dependencies]
juliaup = "*"
python = ">=3.10"
[system-requirements]
linux = "3.10.0"