Update */Manifest.toml #777
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 benchmarks | |
on: | |
pull_request: | |
jobs: | |
Benchmark: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: 1.6 | |
- name: Install dependencies | |
run: julia -e 'using Pkg; pkg"add PkgBenchmark BenchmarkCI@0.1"' | |
- name: Run benchmarks | |
run: julia -e ' | |
using PkgBenchmark, BenchmarkCI; | |
BenchmarkCI.judge( | |
PkgBenchmark.BenchmarkConfig( | |
env = Dict( | |
"JULIA_NUM_THREADS" => "2", | |
"OMP_NUM_THREADS" => "1", | |
), | |
), | |
); | |
' | |
- name: Push results | |
run: julia -e ' | |
using BenchmarkCI; | |
BenchmarkCI.pushresult(; | |
url = "git@github.com:tkf/ThreadsX-data.git", | |
); | |
' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SSH_KEY: ${{ secrets.DATA_SSH_KEY }} |