Skip to content

Commit

Permalink
Fix bench-report.xml patch in the build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Akirathan committed Feb 12, 2024
1 parent 2377540 commit f873840
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build/build/paths.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@
test/:
resources/:
Factorial.enso:
runtime-benchmarks/:
runtime/:
target/:
runtime-benchmarks/:
bench-report.xml:
lib/:
rust/:
Expand Down
8 changes: 6 additions & 2 deletions build/build/src/engine/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,12 @@ impl RunContext {
for bench in &self.config.execute_benchmarks {
match bench {
Benchmarks::Runtime => {
let runtime_bench_report =
&self.paths.repo_root.engine.runtime.bench_report_xml;
let runtime_bench_report = &self
.paths
.repo_root
.engine
.join("runtime-benchmarks")
.join("bench_report_xml");
if runtime_bench_report.exists() {
ide_ci::actions::artifacts::upload_single_file(
runtime_bench_report,
Expand Down

0 comments on commit f873840

Please sign in to comment.