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