Skip to content

Commit

Permalink
disable heaptrack, go back to release mode build
Browse files Browse the repository at this point in the history
  • Loading branch information
elkowar committed Jan 10, 2024
1 parent cd16977 commit 98f842f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
matrix:
profile:
- debug
#- release
- release
include:
#- profile: release
#cargo_flags: "--release"
#cargo_env: ""
- profile: release
cargo_flags: "--release"
cargo_env: ""
- profile: debug
cargo_flags: ""
#cargo_env: "RUSTFLAGS='-C debuginfo=0'"
cargo_env: "RUSTFLAGS='-C debuginfo=0'"

steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM debian:bookworm-slim

RUN apt-get -y update && apt-get -y install ca-certificates gdb heaptrack && rm -rf /var/lib/apt/lists/*
RUN apt-get -y update && apt-get -y install ca-certificates \
&& rm -rf /var/lib/apt/lists/*
# gdb heaptrack \

COPY ./robbb /usr/local/bin/robbb
RUN chmod +x /usr/local/bin/robbb

CMD ["heaptrack", "robbb"]
CMD ["robbb"]

0 comments on commit 98f842f

Please sign in to comment.