mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
fix parts of the circle config
This commit is contained in:
parent
12b53a48ad
commit
93a6279833
@ -65,35 +65,22 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/rust:latest
|
- image: circleci/rust:latest
|
||||||
|
<<: *run_with_build_env_vars
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- v6-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}
|
- v6-test-cargo-cache-linux-{{ arch }}-{{ checksum "Cargo.lock" }}
|
||||||
- run:
|
- <<: *run_install_dependencies
|
||||||
name: Install dependencies
|
|
||||||
command: |
|
|
||||||
sudo apt-get install -y cmake
|
|
||||||
curl -O https://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
|
|
||||||
tar xf clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
|
|
||||||
- <<: *run_install_sodium
|
|
||||||
- run:
|
- run:
|
||||||
name: Tests
|
name: Tests
|
||||||
command: |
|
command: make test
|
||||||
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/"
|
|
||||||
make test
|
|
||||||
- run:
|
- run:
|
||||||
name: Emscripten Tests
|
name: Emscripten Tests
|
||||||
command: |
|
command: make test-emscripten
|
||||||
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/"
|
|
||||||
export SODIUM_LIB_DIR=/usr/local/lib
|
|
||||||
export SODIUM_STATIC=true
|
|
||||||
make test-emscripten
|
|
||||||
- run:
|
- run:
|
||||||
name: Integration Tests
|
name: Integration Tests
|
||||||
command: |
|
command: make integration-tests
|
||||||
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/"
|
|
||||||
make integration-tests
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
- /usr/local/cargo/registry
|
- /usr/local/cargo/registry
|
||||||
@ -120,7 +107,6 @@ jobs:
|
|||||||
# Installing LLVM outside of brew
|
# Installing LLVM outside of brew
|
||||||
curl -O https://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz
|
curl -O https://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz
|
||||||
tar xf clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz
|
tar xf clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz
|
||||||
- <<: *run_install_sodium
|
|
||||||
- run:
|
- run:
|
||||||
name: Install Rust
|
name: Install Rust
|
||||||
command: |
|
command: |
|
||||||
@ -130,15 +116,12 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Tests
|
name: Tests
|
||||||
command: |
|
command: |
|
||||||
|
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
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 LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-apple-darwin/"
|
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-apple-darwin/"
|
||||||
# We increase the ulimit for fixing cargo unclosed files in mac
|
# We increase the ulimit for fixing cargo unclosed files in mac
|
||||||
ulimit -n 8000
|
ulimit -n 8000
|
||||||
sudo sysctl -w kern.maxfiles=655360 kern.maxfilesperproc=327680
|
sudo sysctl -w kern.maxfiles=655360 kern.maxfilesperproc=327680
|
||||||
export SODIUM_LIB_DIR=/usr/local/lib
|
|
||||||
export SODIUM_STATIC=true
|
|
||||||
make test
|
make test
|
||||||
- run:
|
- run:
|
||||||
name: Emscripten Tests
|
name: Emscripten Tests
|
||||||
@ -149,8 +132,6 @@ jobs:
|
|||||||
# We increase the ulimit for fixing cargo unclosed files in mac
|
# We increase the ulimit for fixing cargo unclosed files in mac
|
||||||
ulimit -n 8000
|
ulimit -n 8000
|
||||||
sudo sysctl -w kern.maxfiles=655360 kern.maxfilesperproc=327680
|
sudo sysctl -w kern.maxfiles=655360 kern.maxfilesperproc=327680
|
||||||
export SODIUM_LIB_DIR=/usr/local/lib
|
|
||||||
export SODIUM_STATIC=true
|
|
||||||
make test-emscripten
|
make test-emscripten
|
||||||
- run:
|
- run:
|
||||||
name: Integration Tests
|
name: Integration Tests
|
||||||
@ -158,8 +139,6 @@ jobs:
|
|||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
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 LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-apple-darwin/"
|
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-apple-darwin/"
|
||||||
export SODIUM_LIB_DIR=/usr/local/lib
|
|
||||||
export SODIUM_STATIC=true
|
|
||||||
make integration-tests
|
make integration-tests
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
@ -186,27 +165,20 @@ jobs:
|
|||||||
sudo apt-get install -y cmake
|
sudo apt-get install -y cmake
|
||||||
curl -O https://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
|
curl -O https://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
|
||||||
tar xf clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
|
tar xf clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
|
||||||
- <<: *run_install_sodium
|
|
||||||
- run:
|
- run:
|
||||||
name: Tests
|
name: Tests
|
||||||
command: |
|
command: |
|
||||||
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/"
|
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/"
|
||||||
export SODIUM_LIB_DIR=/usr/local/lib
|
|
||||||
export SODIUM_STATIC=true
|
|
||||||
make test
|
make test
|
||||||
- run:
|
- run:
|
||||||
name: Emscripten Tests
|
name: Emscripten Tests
|
||||||
command: |
|
command: |
|
||||||
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/"
|
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/"
|
||||||
export SODIUM_LIB_DIR=/usr/local/lib
|
|
||||||
export SODIUM_STATIC=true
|
|
||||||
make test-emscripten
|
make test-emscripten
|
||||||
- run:
|
- run:
|
||||||
name: Release Build
|
name: Release Build
|
||||||
command: |
|
command: |
|
||||||
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/"
|
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/"
|
||||||
export SODIUM_LIB_DIR=/usr/local/lib
|
|
||||||
export SODIUM_STATIC=true
|
|
||||||
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)
|
||||||
@ -251,7 +223,6 @@ jobs:
|
|||||||
# Installing LLVM outside of brew
|
# Installing LLVM outside of brew
|
||||||
curl -O https://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz
|
curl -O https://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz
|
||||||
tar xf clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz
|
tar xf clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz
|
||||||
- <<: *run_install_sodium
|
|
||||||
- run:
|
- run:
|
||||||
name: Install Rust
|
name: Install Rust
|
||||||
command: |
|
command: |
|
||||||
@ -267,8 +238,6 @@ jobs:
|
|||||||
# We increase the ulimit for fixing cargo unclosed files in mac
|
# We increase the ulimit for fixing cargo unclosed files in mac
|
||||||
ulimit -n 8000
|
ulimit -n 8000
|
||||||
sudo sysctl -w kern.maxfiles=655360 kern.maxfilesperproc=327680
|
sudo sysctl -w kern.maxfiles=655360 kern.maxfilesperproc=327680
|
||||||
export SODIUM_LIB_DIR=/usr/local/lib
|
|
||||||
export SODIUM_STATIC=true
|
|
||||||
make test
|
make test
|
||||||
- run:
|
- run:
|
||||||
name: Emscripten Tests
|
name: Emscripten Tests
|
||||||
@ -279,8 +248,6 @@ jobs:
|
|||||||
# We increase the ulimit for fixing cargo unclosed files in mac
|
# We increase the ulimit for fixing cargo unclosed files in mac
|
||||||
ulimit -n 8000
|
ulimit -n 8000
|
||||||
sudo sysctl -w kern.maxfiles=655360 kern.maxfilesperproc=327680
|
sudo sysctl -w kern.maxfiles=655360 kern.maxfilesperproc=327680
|
||||||
export SODIUM_LIB_DIR=/usr/local/lib
|
|
||||||
export SODIUM_STATIC=true
|
|
||||||
make test-emscripten
|
make test-emscripten
|
||||||
- run:
|
- run:
|
||||||
name: Release Build
|
name: Release Build
|
||||||
@ -288,8 +255,6 @@ jobs:
|
|||||||
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"
|
||||||
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-apple-darwin/"
|
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-apple-darwin/"
|
||||||
export SODIUM_LIB_DIR=/usr/local/lib
|
|
||||||
export SODIUM_STATIC=true
|
|
||||||
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)
|
||||||
@ -324,12 +289,9 @@ jobs:
|
|||||||
sudo apt-get install -y cmake
|
sudo apt-get install -y cmake
|
||||||
curl -O https://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
|
curl -O https://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
|
||||||
tar xf clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
|
tar xf clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz
|
||||||
- <<: *run_install_sodium
|
|
||||||
- run: rustup default nightly
|
- run: rustup default nightly
|
||||||
- run: |
|
- run: |
|
||||||
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/"
|
export LLVM_SYS_70_PREFIX="`pwd`/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04/"
|
||||||
export SODIUM_LIB_DIR=/usr/local/lib
|
|
||||||
export SODIUM_STATIC=true
|
|
||||||
make test
|
make test
|
||||||
make test-nightly
|
make test-nightly
|
||||||
make test-emscripten
|
make test-emscripten
|
||||||
|
Loading…
Reference in New Issue
Block a user