Skip to content

Commit

Permalink
disable debug info in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Jan 31, 2024
1 parent 7fd9282 commit 9a27118
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ jobs:
target="${{ matrix.target }}"
flags=()
# TODO: default GHA runners run out of RAM when building with any debug info
[[ "$target" = *linux* ]] && export CARGO_PROFILE_release_DEBUG=0
# `keccak-asm` does not support MSVC or aarch64 Linux.
[[ "$target" != *msvc* && "$target" != "aarch64-unknown-linux-gnu" ]] && flags+=(--features=asm-keccak)
Expand All @@ -144,7 +147,6 @@ jobs:
[[ "$target" == *windows* ]] && exe=".exe"
cargo build --release --bins --target "${{ matrix.target }}" "${flags[@]}"
code=$?
for name in (anvil cast chisel forge); do
bin=./target/${{ matrix.target }}/release/$name$exe
Expand All @@ -153,8 +155,6 @@ jobs:
$bin --version
done
exit $code
- name: Archive binaries
id: artifacts
env:
Expand Down

0 comments on commit 9a27118

Please sign in to comment.