From 20ac5f17519ce4ef867935885dd5a6251c5e24b1 Mon Sep 17 00:00:00 2001 From: Sergio Gasquez Date: Fri, 7 Oct 2022 11:40:59 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=90=9B=20Fix=20openssl=20for=20aarc?= =?UTF-8?q?h64-linux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cd.yaml | 3 ++- Cargo.toml | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 5cec22b..fe09f60 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -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 }} diff --git a/Cargo.toml b/Cargo.toml index 2584bdd..db0c9f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"