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
f4581bfa51
commit
20ac5f1751
3
.github/workflows/cd.yaml
vendored
3
.github/workflows/cd.yaml
vendored
@ -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 }}
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user