forked from wasmerio/wasmer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8180771
commit e5d0b37
Showing
5 changed files
with
46 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -142,6 +142,10 @@ jobs: | |
- image: circleci/rust:latest | ||
steps: | ||
- checkout | ||
# - run: | ||
# name: "Pull dependencies" | ||
# command: | | ||
# git clone [email protected]:wasmerio/wapm-cli.git | ||
- restore_cache: | ||
keys: | ||
- v8-cargo-cache-linux-nightly-{{ arch }}-{{ checksum "Cargo.lock" }} | ||
|
@@ -170,12 +174,14 @@ jobs: | |
command: | | ||
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/" | ||
make release | ||
# cargo build --release --manifest-path wapm-cli/Cargo.toml | ||
mkdir -p artifacts | ||
VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2) | ||
# GIT_VERSION=$(git describe --exact-match --tags) | ||
echo "${VERSION}" >> artifacts/version | ||
echo "${CIRCLE_TAG}" >> artifacts/git_version | ||
cp ./target/release/wasmer ./artifacts/$(./binary-name.sh) | ||
make build-install | ||
cp ./wasmer.tar.gz ./artifacts/$(./binary-name.sh) | ||
- run: | ||
name: Debug flag checked | ||
command: | | ||
|
@@ -193,13 +199,20 @@ jobs: | |
- target/release/.fingerprint | ||
- target/release/build | ||
- target/release/deps | ||
# - wapm-cli/target/release/.fingerprint | ||
# - wapm-cli/target/release/build | ||
# - wapm-cli/target/release/deps | ||
key: v8-cargo-cache-linux-nightly-{{ arch }}-{{ checksum "Cargo.lock" }} | ||
|
||
test-and-build-macos: | ||
macos: | ||
xcode: "9.0" | ||
steps: | ||
- checkout | ||
# - run: | ||
# name: "Pull dependencies" | ||
# command: | | ||
# git clone [email protected]:wasmerio/wapm-cli.git | ||
- restore_cache: | ||
keys: | ||
- v8-cargo-cache-darwin-nightly-{{ arch }}-{{ checksum "Cargo.lock" }} | ||
|
@@ -250,10 +263,12 @@ jobs: | |
export PATH="$HOME/.cargo/bin:$PATH" | ||
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-apple-darwin/" | ||
make release | ||
# cargo build --release --manifest-path wapm-cli/Cargo.toml | ||
mkdir -p artifacts | ||
make build-install | ||
cp ./wasmer.tar.gz ./artifacts/$(./binary-name.sh) | ||
# VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2) | ||
# echo "${VERSION}" >> artifacts/version | ||
cp ./target/release/wasmer ./artifacts/$(./binary-name.sh) | ||
- persist_to_workspace: | ||
root: . | ||
paths: | ||
|
@@ -267,6 +282,9 @@ jobs: | |
- target/release/.fingerprint | ||
- target/release/build | ||
- target/release/deps | ||
# - wapm-cli/target/release/.fingerprint | ||
# - wapm-cli/target/release/build | ||
# - wapm-cli/target/release/deps | ||
key: v8-cargo-cache-darwin-nightly-{ arch }}-{{ checksum "Cargo.lock" }} | ||
|
||
test-rust-nightly: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
.DS_Store | ||
.idea | ||
**/.vscode | ||
install/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters