planckforth/.github/workflows/benchmark.yaml

22 lines
547 B
YAML
Raw Permalink Normal View History

2021-01-11 08:22:56 +01:00
name: benchmark
on:
2021-01-11 09:09:53 +01:00
push:
2021-01-11 09:43:49 +01:00
branches: "main"
paths-ignore: ['README.md', 'LICENSE', '.gitignore']
2021-01-11 08:22:56 +01:00
jobs:
2021-01-13 12:18:07 +01:00
runbenchmarks:
2021-01-11 08:39:26 +01:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: take benchmarks
run: |
2021-01-11 09:23:16 +01:00
mkdir -p document
./benchmark/gendoc.sh ${{ github.sha }} | tee document/Benchmarks.md
2021-01-11 08:39:26 +01:00
- name: upload to wiki
uses: SwiftDocOrg/github-wiki-publish-action@v1
with:
2021-01-11 09:14:33 +01:00
path: "document"
2021-01-11 08:39:26 +01:00
env:
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}