ci: 🐛 Fix openssl for aarch64-linux

This commit is contained in:
Sergio Gasquez 2022-10-07 11:40:59 +02:00
parent f4581bfa51
commit 20ac5f1751
2 changed files with 8 additions and 1 deletions

View File

@ -25,6 +25,7 @@ jobs:
- os: ubuntu-latest
target: aarch64-unknown-linux-gnu
cross: true
features: --features vendored-openssl
- os: macos-latest
target: aarch64-apple-darwin
steps:
@ -43,7 +44,7 @@ jobs:
with:
command: build
use-cross: ${{ matrix.job.cross }}
args: --features vendored-openssl --release --target ${{ matrix.job.target }}
args: ${{ matrix.job.features }} --release --target ${{ matrix.job.target }}
- name: Compress (Unix)
if: ${{ matrix.job.os != 'windows-latest' }}
run: zip -j espup-${{ matrix.job.target }}.zip target/${{ matrix.job.target }}/release/espup${{ matrix.job.binary-postfix }}

View File

@ -34,6 +34,12 @@ pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ archive
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"
[features]
vendored-openssl = ['openssl/vendored']
[dependencies.openssl]
version = "0.10"
optional = true
[profile.release]
lto = "thin"