镜像来自
https://github.com/henrydcase/pqc.git
synced 2024-11-22 07:35:38 +00:00
Adds continues benchmarking
This commit is contained in:
父節點
4f25353aa9
當前提交
de6c33f6a4
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
@ -102,3 +102,23 @@ jobs:
|
||||
- name: run tests
|
||||
run: |
|
||||
cd build && ./ut
|
||||
SPEED:
|
||||
name: Continues Benchmarking
|
||||
runs-on: [ubuntu-20.04]
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
submodules: true
|
||||
- uses: rhysd/github-action-benchmark@v1
|
||||
with:
|
||||
tool: 'googlecpp'
|
||||
output-file-path: benchmark_result.json
|
||||
- name: build
|
||||
run: |
|
||||
mkdir -p build
|
||||
cd build
|
||||
CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
- name: run benchmarks
|
||||
run: |
|
||||
./test/bench/bench --benchmark_format=json | tee benchmark_result.json
|
Loading…
Reference in New Issue
Block a user