mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-25 10:22:19 +00:00
Create dynamic libraries for different platforms per release
This commit is contained in:
parent
b0d73917af
commit
5791583228
@ -64,6 +64,7 @@ build_script:
|
|||||||
- rename target wapm-cli-target
|
- rename target wapm-cli-target
|
||||||
- cd ..
|
- cd ..
|
||||||
- move wapm-cli\wapm-cli-target wapm-cli-target
|
- move wapm-cli\wapm-cli-target wapm-cli-target
|
||||||
|
- cargo build --release --manifest-path lib/runtime-c-api/Cargo.toml
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- cargo test --manifest-path lib/spectests/Cargo.toml --features clif
|
- cargo test --manifest-path lib/spectests/Cargo.toml --features clif
|
||||||
|
@ -191,6 +191,11 @@ jobs:
|
|||||||
echo "${CIRCLE_TAG}" >> artifacts/git_version
|
echo "${CIRCLE_TAG}" >> artifacts/git_version
|
||||||
make build-install
|
make build-install
|
||||||
cp ./wasmer.tar.gz ./artifacts/$(./binary-name.sh)
|
cp ./wasmer.tar.gz ./artifacts/$(./binary-name.sh)
|
||||||
|
- run:
|
||||||
|
name: Dynamic library
|
||||||
|
command: |
|
||||||
|
cargo build --release --manifest-path lib/runtime-c-api/Cargo.toml
|
||||||
|
cp target/release/libwasmer_runtime_c_api.so ./artifacts
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: .
|
root: .
|
||||||
paths:
|
paths:
|
||||||
@ -278,6 +283,11 @@ jobs:
|
|||||||
cp ./wasmer.tar.gz ./artifacts/$(./binary-name.sh)
|
cp ./wasmer.tar.gz ./artifacts/$(./binary-name.sh)
|
||||||
# VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2)
|
# VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2)
|
||||||
# echo "${VERSION}" >> artifacts/version
|
# echo "${VERSION}" >> artifacts/version
|
||||||
|
- run:
|
||||||
|
name: Dynamic library
|
||||||
|
command: |
|
||||||
|
cargo build --release --manifest-path lib/runtime-c-api/Cargo.toml
|
||||||
|
cp target/release/libwasmer_runtime_c_api.dylib ./artifacts
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: .
|
root: .
|
||||||
paths:
|
paths:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user