Skip to content

Commit

Permalink
build: add vendored openssl to dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Zvicii committed Jan 4, 2024
1 parent 589dfaf commit c68aa8f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ jobs:
with:
toolchain: stable
targets: aarch64-unknown-linux-gnu
- run: sudo apt install -y libssl-dev
- run: cargo install cross
- run: cross build --release --target aarch64-unknown-linux-gnu
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -115,7 +114,6 @@ jobs:
with:
toolchain: stable
targets: aarch64-linux-android, armv7-linux-androideabi, i686-linux-android, x86_64-linux-android
- run: sudo apt install -y libssl-dev
- run: cargo install cargo-ndk
- run: cargo ndk -t arm64-v8a -t armeabi-v7a -t x86_64 -t x86 -o ./jniLibs build --release
- uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ sysinfo = "0.30.1"
clap = { version = "4.4.11", features = ["derive"] }
urlencoding = "2.1.3"
tokio-stream = "0.1.14"
openssl = { version = "0.10.62", features = ["vendored"] }

[lib]
path = "src/lib.rs"
Expand Down

0 comments on commit c68aa8f

Please sign in to comment.