File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,11 +26,15 @@ jobs:
2626 arch : ${{ matrix.arch }}
2727 - uses : julia-actions/cache@v1
2828 - 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
3037 run : |
31- julia -e 'using Pkg; Pkg.add(PackageSpec(name="PkgBenchmark"))'
32- julia --project=benchmark -e 'using Pkg; Pkg.instantiate()'
33- - run : |
3438 julia --project=benchmark -e '
3539 using PkgBenchmark, TaylorDiff
3640 include("benchmark/utils.jl")
Original file line number Diff line number Diff line change @@ -24,5 +24,5 @@ function lower(te::TrialEstimate)
2424end
2525
2626function 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))
2828end
You can’t perform that action at this time.
0 commit comments