mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
install sodium when we lint
This commit is contained in:
parent
d95b62a467
commit
7363d07bb1
@ -15,6 +15,14 @@ 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
|
||||||
|
# install libsodium
|
||||||
|
curl -O https://download.libsodium.org/libsodium/releases/libsodium-1.0.17.tar.gz
|
||||||
|
tar xf libsodium-1.0.17.tar.gz
|
||||||
|
cd libsodium-1.0.17/
|
||||||
|
./configure
|
||||||
|
make && make check
|
||||||
|
sudo make install
|
||||||
|
cd ..
|
||||||
- run:
|
- run:
|
||||||
name: Install lint deps
|
name: Install lint deps
|
||||||
command: |
|
command: |
|
||||||
@ -24,6 +32,8 @@ jobs:
|
|||||||
name: Execute lints
|
name: Execute lints
|
||||||
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 lint
|
make lint
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
|
Loading…
Reference in New Issue
Block a user