mirror of
https://github.com/esp-rs/espup.git
synced 2025-09-27 04:40:27 +00:00
ci: 🐛 Fix openssl for aarch64-linux
This commit is contained in:
parent
f69de633ab
commit
409690b01f
7
.github/workflows/cd.yaml
vendored
7
.github/workflows/cd.yaml
vendored
@ -26,6 +26,7 @@ jobs:
|
||||
binary-postfix: ".exe"
|
||||
- os: ubuntu-latest
|
||||
target: aarch64-unknown-linux-gnu
|
||||
use-cross: true
|
||||
binary-postfix: ""
|
||||
- os: macos-latest
|
||||
target: aarch64-apple-darwin
|
||||
@ -37,7 +38,9 @@ jobs:
|
||||
if: matrix.job.target == 'aarch64-unknown-linux-gnu'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install gcc-aarch64-linux-gnu pkg-config libssl-dev
|
||||
sudo apt-get install gcc-aarch64-linux-gnu pkg-config openssl1.0 libssl1.0.0 libssl1.0-dev
|
||||
export OPENSSL_LIB_DIR="/usr/lib/x86_64-linux-gnu"
|
||||
export OPENSSL_INCLUDE_DIR="/usr/include/openssl"
|
||||
- name: Install Rust toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
@ -50,7 +53,7 @@ jobs:
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
toolchain: stable
|
||||
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