mirror of
https://github.com/esp-rs/espup.git
synced 2025-09-27 12:50:54 +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"
|
binary-postfix: ".exe"
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
target: aarch64-unknown-linux-gnu
|
target: aarch64-unknown-linux-gnu
|
||||||
|
use-cross: true
|
||||||
binary-postfix: ""
|
binary-postfix: ""
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
@ -37,7 +38,9 @@ jobs:
|
|||||||
if: matrix.job.target == 'aarch64-unknown-linux-gnu'
|
if: matrix.job.target == 'aarch64-unknown-linux-gnu'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
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
|
- name: Install Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
@ -50,7 +53,7 @@ jobs:
|
|||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: build
|
command: build
|
||||||
toolchain: stable
|
use-cross: ${{ matrix.job.use-cross }}
|
||||||
args: --release --target ${{ matrix.job.target }}
|
args: --release --target ${{ matrix.job.target }}
|
||||||
- name: Compress (Unix)
|
- name: Compress (Unix)
|
||||||
if: ${{ matrix.job.os != 'windows-latest' }}
|
if: ${{ matrix.job.os != 'windows-latest' }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user