Skip to content

Commit

Permalink
export env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
cgorenflo committed Sep 16, 2024
1 parent a2fe273 commit 5981371
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-ampd-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,15 @@ jobs:
OS="linux"
ARCH="${{ matrix.arch }}"
sudo apt-get install libssl-dev protobuf-compiler
sudo apt-get install protobuf-compiler
if [ "$ARCH" == "arm64" ]
then
sudo apt-get install gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
rustup target add aarch64-unknown-linux-gnu
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
export OPENSSL_LIB_DIR=/usr/lib/arm-linux-gnueabihf
export OPENSSL_INCLUDE_DIR=/usr/include/openssl
cargo build --release --target aarch64-unknown-linux-gnu
mkdir ampdbin
mv "/home/runner/work/axelar-amplifier/axelar-amplifier/target/aarch64-unknown-linux-gnu/release/ampd" "./ampdbin/ampd-$OS-$ARCH-$SEMVER"
Expand Down

0 comments on commit 5981371

Please sign in to comment.