Use shared ticket package extractor in CI #1196
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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' | ||
| - 'conandata.yml' | ||
| branches: | ||
| - main | ||
| - 'CURA-*' | ||
| - 'PP-*' | ||
| - 'NP-*' | ||
| - '[0-9]+.[0-9]+' | ||
| permissions: | ||
| contents: write | ||
| deployments: write | ||
| jobs: | ||
| check_actor: | ||
| uses: ultimaker/cura-workflows/.github/workflows/check-actor.yml@main | ||
| secrets: inherit | ||
| find-ticket-packages: | ||
| name: Extract ticket and find packages | ||
| uses: ultimaker/cura-workflows/.github/workflows/extract-ticket-and-find-packages.yml@main | ||
|
Check failure on line 39 in .github/workflows/stress_benchmark.yml
|
||
| secrets: inherit | ||
| benchmark: | ||
| needs: [check_actor, find-ticket-packages] | ||
| if: >- | ||
| always() && | ||
| needs.check_actor.outputs.proceed == 'true' && | ||
| needs.find-ticket-packages.result == 'success' | ||
| uses: ultimaker/cura-workflows/.github/workflows/benchmark.yml@main | ||
| with: | ||
| conan_extra_args: "-c tools.build:skip_test=False -o \"curaengine/*:enable_benchmarks=True\"" | ||
| benchmark_cmd: "stress_benchmark/stress_benchmark -o benchmark_result.json" | ||
| name: "Stress Benchmark" | ||
| output_file_path: "benchmark_result.json" | ||
| data_dir: "dev/stress_bench" | ||
| tool: "customSmallerIsBetter" | ||
| package_overrides: ${{ needs.find-ticket-packages.outputs.package_overrides || '' }} | ||
| secrets: inherit | ||