Update */Manifest.toml #1478
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run multi-thread benchmarks | |
on: | |
pull_request: | |
jobs: | |
multi-thread-benchmark: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: 1.7 | |
- name: Install dependencies | |
run: julia -e 'using Pkg; pkg"add PkgBenchmark [email protected]"' | |
- name: Run benchmarks | |
run: julia -e ' | |
using PkgBenchmark, BenchmarkCI; | |
BenchmarkCI.judge( | |
PkgBenchmark.BenchmarkConfig(env = Dict("JULIA_NUM_THREADS" => "2")); | |
script = "benchmark/multi-thread/benchmarks.jl", | |
project = "benchmark", | |
); | |
' | |
- name: Push results | |
run: julia -e ' | |
using BenchmarkCI; | |
BenchmarkCI.pushresult(; | |
title = "Multi-thread benchmark result", | |
url = "[email protected]:JuliaFolds/Transducers-data.git", | |
branch = "multi-thread-benchmark-results", | |
); | |
' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SSH_KEY: ${{ secrets.DATA_SSH_KEY }} |