mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-09 05:36:05 +00:00
Fix MUSL builder by compiling OpenSSL
This commit is contained in:
parent
a1ffa8abd3
commit
74cb40189c
@ -112,6 +112,14 @@ matrix:
|
|||||||
- rust: nightly
|
- rust: nightly
|
||||||
env: JOB=dist-linux TARGET=x86_64-unknown-linux-musl
|
env: JOB=dist-linux TARGET=x86_64-unknown-linux-musl
|
||||||
before_script: rustup target add $TARGET
|
before_script: rustup target add $TARGET
|
||||||
|
install:
|
||||||
|
- travis_retry curl -O https://www.openssl.org/source/openssl-1.0.2o.tar.gz
|
||||||
|
- tar xf openssl-1.0.2o.tar.gz
|
||||||
|
- (cd openssl-1.0.2o &&
|
||||||
|
CC=musl-gcc ./Configure --prefix=$HOME/openssl-musl no-dso no-ssl2 no-ssl3 linux-x86_64 -fPIC &&
|
||||||
|
make -j$(nproc) &&
|
||||||
|
make install)
|
||||||
|
- export OPENSSL_DIR=$HOME/openssl-musl
|
||||||
script: cargo build --manifest-path crates/cli/Cargo.toml --release --target $TARGET
|
script: cargo build --manifest-path crates/cli/Cargo.toml --release --target $TARGET
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user