mirror of
https://github.com/esp-rs/espup.git
synced 2025-09-26 20:30:28 +00:00
ci: 🐛 Fix openssl for aarch64-linux
This commit is contained in:
parent
06f239bbcd
commit
dcc7b28496
9
.github/workflows/cd.yaml
vendored
9
.github/workflows/cd.yaml
vendored
@ -26,7 +26,6 @@ jobs:
|
||||
binary-postfix: ".exe"
|
||||
- os: ubuntu-latest
|
||||
target: aarch64-unknown-linux-gnu
|
||||
use-cross: true
|
||||
binary-postfix: ""
|
||||
- os: macos-latest
|
||||
target: aarch64-apple-darwin
|
||||
@ -39,10 +38,9 @@ jobs:
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install gcc-aarch64-linux-gnu pkg-config libssl-dev
|
||||
export OPENSSL_LIB_DIR="/usr/lib/x86_64-linux-gnu"
|
||||
export OPENSSL_INCLUDE_DIR="/usr/include/openssl"
|
||||
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
|
||||
sudo apt-get upgrade
|
||||
echo "OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu" >> $GITHUB_ENV
|
||||
echo "OPENSSL_INCLUDE_DIR=/usr/include/openssl" >> $GITHUB_ENV
|
||||
echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig" >> $GITHUB_ENV
|
||||
- name: Install Rust toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
@ -55,7 +53,6 @@ jobs:
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
use-cross: ${{ matrix.job.use-cross }}
|
||||
args: --release --target ${{ matrix.job.target }}
|
||||
- name: Compress (Unix)
|
||||
if: ${{ matrix.job.os != 'windows-latest' }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user