We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87d2ce0 commit 71c76abCopy full SHA for 71c76ab
1 file changed
.github/workflows/codspeed.yml
@@ -27,6 +27,10 @@ permissions:
27
28
env:
29
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30
+ # Limit parallel compilation jobs to reduce peak memory usage.
31
+ # The bench profile inherits from release (LTO + codegen-units=1),
32
+ # which is very memory-intensive.
33
+ CARGO_BUILD_JOBS: 2
34
35
jobs:
36
codspeed:
@@ -38,7 +42,7 @@ jobs:
38
42
- uses: moonrepo/setup-rust@v1
39
43
with:
40
44
bins: cargo-codspeed
41
- cache: false
45
+ cache-target: release
46
47
- name: Build the benchmark targets
48
run: cargo codspeed build -p moon_affected -p moon_workspace
0 commit comments