Skip to content

Commit

Permalink
test binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Jan 30, 2024
1 parent 3c9e38f commit 7fd9282
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ jobs:
SVM_TARGET_PLATFORM: ${{ matrix.svm_target_platform }}
shell: bash
run: |
set -e
target="${{ matrix.target }}"
flags=()
Expand All @@ -139,7 +140,20 @@ jobs:
# Windows runs out of RAM when building binaries with LLVM
[[ "$target" == *windows* ]] && flags+=(-j1)
[[ "$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
file $bin || true
ldd $bin || true
$bin --version
done
exit $code
- name: Archive binaries
id: artifacts
Expand Down

0 comments on commit 7fd9282

Please sign in to comment.