run the script and sudo

This commit is contained in:
Mackenzie Clark 2019-03-23 17:20:43 -07:00
parent e153cf5825
commit 59d02efde4
2 changed files with 2 additions and 8 deletions

View File

@ -43,13 +43,7 @@ jobs:
- v1-lint-{{ arch }}-{{ checksum "scripts/install_lib_sodium.sh" }}
- run:
name: install sodium
command: |
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
make install
command: scripts/install_lib_sodium.sh
- save_cache:
paths:
- /usr/local/lib

View File

@ -4,4 +4,4 @@ tar xf libsodium-1.0.17.tar.gz
cd libsodium-1.0.17/
./configure
make && make check
make install
sudo make install