File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,15 @@ jobs:
26
26
arch : ${{ matrix.arch }}
27
27
- uses : julia-actions/cache@v1
28
28
- uses : julia-actions/julia-buildpkg@v1
29
- - name : Install JuliaFormatter and format
29
+ - name : Install PkgBenchmark and instantiate benchmark environment
30
+ run : |
31
+ julia --project=benchmark -e '
32
+ using Pkg
33
+ Pkg.develop(path=".")
34
+ Pkg.instantiate()
35
+ Pkg.add(["PkgBenchmark", "HTTP", "JSON"])'
36
+ - name : Run benchmarks and upload to server
30
37
run : |
31
- julia -e 'using Pkg; Pkg.add(PackageSpec(name="PkgBenchmark"))'
32
- julia --project=benchmark -e 'using Pkg; Pkg.instantiate()'
33
- - run : |
34
38
julia --project=benchmark -e '
35
39
using PkgBenchmark, TaylorDiff
36
40
include("benchmark/utils.jl")
Original file line number Diff line number Diff line change @@ -24,5 +24,5 @@ function lower(te::TrialEstimate)
24
24
end
25
25
26
26
function upload (results:: BenchmarkResults )
27
- put (" https://benchmark.tansongchen.com/data?repo=TaylorDiff.jl" ; body= json (results))
27
+ put (" https://benchmark.tansongchen.com/data?repo=TaylorDiff.jl" ; body = json (results))
28
28
end
You can’t perform that action at this time.
0 commit comments