Skip to content

Commit

Permalink
fix: fix ubuntu 3
Browse files Browse the repository at this point in the history
  • Loading branch information
xilosada committed Jun 10, 2024
1 parent 14ede9a commit ef90b8f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/desktop_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:
make -j$(nproc)
make install_sw
cd ..
export OPENSSL_DIR=$HOME/openssl-aarch64
export PKG_CONFIG_PATH=$OPENSSL_DIR/lib/pkgconfig
export PKG_CONFIG_ALLOW_CROSS=1
export PKG_CONFIG_SYSROOT_DIR=/
echo "OPENSSL_DIR=$HOME/openssl-aarch64" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=$HOME/openssl-aarch64/lib/pkgconfig" >> $GITHUB_ENV
echo "PKG_CONFIG_ALLOW_CROSS=1" >> $GITHUB_ENV
echo "PKG_CONFIG_SYSROOT_DIR=/" >> $GITHUB_ENV
- name: Cache cargo registry
uses: actions/cache@v3
Expand All @@ -69,7 +69,10 @@ jobs:
- name: Build the crate for aarch64
if: matrix.target == 'aarch64-unknown-linux-gnu'
env:
OPENSSL_DIR: $HOME/openssl-aarch64
OPENSSL_DIR: ${{ env.OPENSSL_DIR }}
PKG_CONFIG_PATH: ${{ env.PKG_CONFIG_PATH }}
PKG_CONFIG_ALLOW_CROSS: ${{ env.PKG_CONFIG_ALLOW_CROSS }}
PKG_CONFIG_SYSROOT_DIR: ${{ env.PKG_CONFIG_SYSROOT_DIR }}
run: cargo build -p calimero-node --release --target ${{ matrix.target }}

- name: Build the crate for x86_64
Expand Down

0 comments on commit ef90b8f

Please sign in to comment.