mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-10 10:02:38 +03:00
stackoverflow fix + cargo criterion fix
This commit is contained in:
parent
4beac319bc
commit
3acd9d1396
3
.github/workflows/benchmarks.yml
vendored
3
.github/workflows/benchmarks.yml
vendored
@ -20,5 +20,8 @@ jobs:
|
||||
- name: Earthly version
|
||||
run: earthly --version
|
||||
|
||||
- name: prune cache
|
||||
run: earthly prune --reset
|
||||
|
||||
- name: install dependencies, build, cd cli, benchmark with criterion
|
||||
run: ./ci/safe-earthly.sh +bench-roc
|
||||
|
@ -115,7 +115,7 @@ bench-roc:
|
||||
FROM +copy-dirs-and-cache
|
||||
ENV RUST_BACKTRACE=full
|
||||
RUN cargo criterion -V
|
||||
RUN ulimit -s unlimited # to prevent stack overflow errors for CFold
|
||||
# ulimit -s unlimited to prevent stack overflow errors for CFold
|
||||
RUN --privileged --mount=type=cache,target=$SCCACHE_DIR \
|
||||
cd cli && cargo criterion && sccache --show-stats
|
||||
ulimit -s unlimited && cd cli && cargo criterion && sccache --show-stats
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user