mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Improved build script for macos
This commit is contained in:
parent
19c4d07ab5
commit
7d8f2aafe5
@ -57,7 +57,7 @@ jobs:
|
|||||||
cargo --version
|
cargo --version
|
||||||
- run:
|
- run:
|
||||||
name: Execute tests
|
name: Execute tests
|
||||||
command:
|
command: |
|
||||||
export PATH="`pwd`/cmake-3.4.1-Darwin-x86_64/CMake.app/Contents/bin:$PATH"
|
export PATH="`pwd`/cmake-3.4.1-Darwin-x86_64/CMake.app/Contents/bin:$PATH"
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
make test
|
make test
|
||||||
@ -68,8 +68,8 @@ jobs:
|
|||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
make release
|
make release
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
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
|
||||||
cp ./target/release/wasmer ./artifacts/$(./binary-name.sh)
|
cp ./target/release/wasmer ./artifacts/$(./binary-name.sh)
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: .
|
root: .
|
||||||
|
Loading…
Reference in New Issue
Block a user