diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3050c5f..1401881 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -280,12 +280,44 @@ jobs: shell: bash run: echo "BUILD_CMD=cross" >> $GITHUB_ENV -# - name: Installing needed Ubuntu dependencies -# if: matrix.job.os == 'ubuntu-latest' -# shell: bash -# run: | -# sudo apt-get -y update -# case ${{ matrix.job.target }} in + - name: Installing needed Ubuntu dependencies + if: matrix.os == 'ubuntu-latest' + shell: bash + run: | + sudo apt-get -y update + sudo apt install -y librust-bindgen+clap-dev \ + librust-bindgen+default-dev \ + librust-bindgen+env-logger-dev \ + librust-bindgen+log-dev \ + librust-bindgen+logging-dev \ + librust-bindgen+runtime-dev \ + librust-bindgen+static-dev \ + librust-bindgen+which-dev \ + librust-bindgen-dev \ + librust-cbindgen+clap-dev \ + librust-cbindgen-dev \ + librust-wasm-bindgen+default-dev \ + librust-wasm-bindgen+serde-dev \ + librust-wasm-bindgen+serde-json-dev \ + librust-wasm-bindgen+serde-serialize-dev \ + librust-wasm-bindgen+spans-dev \ + librust-wasm-bindgen+strict-macro-dev \ + librust-wasm-bindgen+xxx-debug-only-print-generated-code-dev \ + librust-wasm-bindgen-backend+extra-traits-dev \ + librust-wasm-bindgen-backend-dev \ + librust-wasm-bindgen-dev \ + librust-wasm-bindgen-macro+spans-dev \ + librust-wasm-bindgen-macro+strict-macro-dev \ + librust-wasm-bindgen-macro-dev \ + librust-wasm-bindgen-macro-support+extra-traits-dev \ + librust-wasm-bindgen-macro-support+spans-dev \ + librust-wasm-bindgen-macro-support-dev \ + librust-wasm-bindgen-shared-dev \ + librust-wasm-bindgen-webidl-dev \ + bindgen-0.56 \ + bindgen \ + cbindgen +# case ${{ matrix.target }} in # arm*-linux-*) sudo apt-get -y install gcc-arm-linux-gnueabihf ;; # aarch64-*-linux-*) sudo apt-get -y install gcc-aarch64-linux-gnu ;; # esac diff --git a/Cargo.lock b/Cargo.lock index 354f3e3..9b4adfa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1583,6 +1583,7 @@ dependencies = [ "assert_cmd", "async-trait", "aws-config", + "aws-lc-sys", "aws-sdk-secretsmanager", "azure_identity", "azure_security_keyvault_secrets", @@ -1603,6 +1604,7 @@ dependencies = [ "indoc", "log", "log4rs", + "openssl", "predicates", "pretty_assertions", "proptest", @@ -2470,6 +2472,15 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" +[[package]] +name = "openssl-src" +version = "300.5.2+3.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d270b79e2926f5150189d475bc7e9d2c69f9c4697b185fa917d5a32b792d21b4" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.109" @@ -2478,6 +2489,7 @@ checksum = "90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571" dependencies = [ "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index ef43b5d..ceeeaad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,9 +58,8 @@ gcloud-sdk = { version = "0.28.1", features = [ crc32c = "0.6.8" azure_identity = "0.27.0" azure_security_keyvault_secrets = "0.6.0" -#openssl = { version = "0.10", features = ["vendored"] } -#openssl-sys = { version = "0.9", features = ["vendored"] } -#aws-lc-sys = { version = "0.31.0", features = ["bindgen"] } +openssl = { version = "0.10", features = ["vendored"] } +aws-lc-sys = { version = "0.31.0", features = ["bindgen"] } [dev-dependencies] pretty_assertions = "1.4.1"