libsodium -> libsodium-dev and move to before_deploy

This commit is contained in:
Frank Denis 2019-12-09 23:20:22 +01:00
parent 548a439528
commit c68c672b47
1 changed files with 2 additions and 3 deletions

View File

@ -6,8 +6,6 @@ os:
go: go:
- 1.x - 1.x
before_install:
- sudo apt-get -y install libsodium
addons: addons:
apt: apt:
update: true update: true
@ -224,6 +222,7 @@ deploy:
tags: true tags: true
before_deploy: before_deploy:
- sudo apt-get -y install libsodium-dev
- git clone --depth 1 https://github.com/jedisct1/minisign.git - git clone --depth 1 https://github.com/jedisct1/minisign.git
- cd minisign/src - cd minisign/src
- gcc -O2 -o /tmp/bin/minisign -I/tmp/include -L/tmp/lib *.c -lsodium - gcc -O2 -o /tmp/bin/minisign -I/tmp/include -L/tmp/lib *.c -lsodium
@ -235,7 +234,7 @@ before_deploy:
before_install: before_install:
- NDK_VER=r18 - NDK_VER=r18
- curl -LO http://dl.google.com/android/repository/android-ndk-${NDK_VER}-linux-x86_64.zip - curl -LO https://dl.google.com/android/repository/android-ndk-${NDK_VER}-linux-x86_64.zip
- unzip -q android-ndk-${NDK_VER}-linux-x86_64.zip -d $HOME - unzip -q android-ndk-${NDK_VER}-linux-x86_64.zip -d $HOME
- rm android-ndk-${NDK_VER}-linux-x86_64.zip - rm android-ndk-${NDK_VER}-linux-x86_64.zip
- NDK_TOOLS=$HOME/android-ndk-${NDK_VER} - NDK_TOOLS=$HOME/android-ndk-${NDK_VER}