Skip to content

Commit

Permalink
More More testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew121410 committed Jul 31, 2024
1 parent 7d6de5e commit a27714f
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,13 @@ jobs:
- uses: actions/checkout@v4

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config
run: sudo apt-get update && sudo apt upgrade -y && sudo apt-get install -y libssl-dev pkg-config gcc-aarch64-linux-gnu

- name: Set OpenSSL environment variables
- name: Set environment variables for cross-compilation
run: |
export OPENSSL_DIR=/usr/lib/ssl
export OPENSSL_LIB_DIR=$OPENSSL_DIR/lib
export OPENSSL_INCLUDE_DIR=$OPENSSL_DIR/include
- name: Configure pkg-config for cross-compilation
run: |
export PKG_CONFIG_SYSROOT_DIR=/usr/aarch64-linux-gnu
export PKG_CONFIG_PATH=$PKG_CONFIG_SYSROOT_DIR/lib/pkgconfig
export PKG_CONFIG_ALLOW_CROSS=1
export OPENSSL_NO_PKG_CONFIG=1
export PATH=$PATH:/usr/aarch64-linux-gnu/bin
- name: Install Rust toolchain
run: |
Expand Down

0 comments on commit a27714f

Please sign in to comment.