-
-
Notifications
You must be signed in to change notification settings - Fork 890
58 lines (51 loc) · 1.55 KB
/
stress_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
47
48
49
50
51
52
53
54
55
56
57
58
name: Stress Benchmark
on:
push:
paths:
- 'include/**'
- 'src/**'
- 'stress_benchmark/**'
- '.github/workflows/stress_benchmark.yml'
branches:
- main
pull_request:
types: [ opened, reopened, synchronize ]
paths:
- 'include/**'
- 'src/**'
- 'stress_benchmark/**'
- '.github/workflows/stress_benchmark.yml'
branches:
- main
- 'CURA-*'
- 'PP-*'
- '[0-9]+.[0-9]+'
permissions:
contents: write
deployments: write
env:
CONAN_LOGIN_USERNAME: ${{ secrets.CONAN_USER }}
CONAN_PASSWORD: ${{ secrets.CONAN_PASS }}
# FIXME: Use `main` instead of `CURA-10831` once merged
jobs:
check_actor:
uses: ultimaker/cura-workflows/.github/workflows/check-actor.yml@CURA-10831
secrets: inherit
conan-recipe-version:
needs: [ check_actor ]
if: ${{ needs.check_actor.outputs.proceed == 'true' }}
uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-version.yml@CURA-10831
with:
project_name: curaengine
benchmark:
needs: [ conan-recipe-version ]
uses: ultimaker/cura-workflows/.github/workflows/benchmark.yml@CURA-10831
with:
recipe_id_full: ${{ needs.conan-recipe-version.outputs.recipe_id_full }}
conan_extra_args: "-o curaengine:enable_benchmarks=True"
benchmark_cmd: "stress_benchmark/stress_benchmark -o benchmark_result.json"
name: "Stress Benchmark"
output_file_path: "build/Release/benchmark_result.json"
data_dir: "dev/stress_bench"
tool: "customSmallerIsBetter"
secrets: inherit