diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index d9bb950e..97dcad51 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -16,13 +16,15 @@ jobs: version: 1 - uses: julia-actions/julia-buildpkg@latest - name: Install dependencies - run: julia -e 'using Pkg; pkg"add LinearAlgebra PkgBenchmark BenchmarkCI@0.1"' + run: julia -e 'using Pkg; pkg"add PkgBenchmark BenchmarkCI@0.1"' - name: Run benchmarks run: | julia -e ' - using BenchmarkCI, PkgBenchmark, LinearAlgebra - BLAS.set_num_threads(1) - config = BenchmarkConfig(env=Dict("JULIA_NUM_THREADS" => "auto")) + using BenchmarkCI, PkgBenchmark + config = BenchmarkConfig(env=Dict( + "JULIA_NUM_THREADS" => "auto", + "OPENBLAS_NUM_THREADS" => 1, + )) BenchmarkCI.judge(baseline="origin/main", target=config)' - name: Print judgement run: julia -e 'using BenchmarkCI; BenchmarkCI.displayjudgement()'