Feature+Refactor: Distribute fields across processes with MPI #4
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: Benchmarks | |
on: | |
pull_request: | |
branches: | |
- dirac | |
push: | |
branches: | |
- dirac | |
jobs: | |
Benchmark: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: "1.9.4" | |
- 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", | |
"OMP_NUM_THREADS" => "1", | |
), | |
), | |
"origin/dirac"; | |
); | |
' | |
- name: Push results | |
run: julia -e "using BenchmarkCI; BenchmarkCI.pushresult()" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SSH_KEY: ${{ secrets.DOCUMENTER_KEY }} |