-
Notifications
You must be signed in to change notification settings - Fork 7
46 lines (38 loc) · 1.19 KB
/
build-and-benchmark.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Benchmark GraphBLAS-sharp
on:
push:
paths-ignore:
- 'docs/benchmarks/**'
workflow_dispatch:
permissions:
contents: write
deployments: write
jobs:
build-and-bench-self-hosted:
runs-on: self-hosted
steps:
- name: Check out repository code
uses: actions/checkout@v3
with:
clean: false
- name: OpenCL Info
run: clinfo
- name: Build GraphBLAS-sharp
run: |
dotnet tool restore
dotnet build -c Release
- name: Benchmark
run: python3 benchmarks/GraphBLAS-sharp.Benchmarks/Scripts/Benchmark.py
- name: Charts
uses: rhysd/github-action-benchmark@v1
with:
name: BFS
tool: 'benchmarkdotnet'
output-file-path: BenchmarkDotNet.Artifacts/results/GraphBLAS.FSharp.Benchmarks.BFSWithoutTransferBenchmarkInt32-report-brief.json
# Access token to deploy GitHub Pages branch
github-token: ${{ secrets._GITHUB_TOKEN }}
# Push and deploy GitHub pages branch automatically
auto-push: true
gh-pages-branch: master
benchmark-data-dir-path: docs/benchmarks
skip-fetch-gh-pages: true