|
|
@ -13,22 +13,24 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- run: | |
|
|
|
- run: | |
|
|
|
apt-get -qq update |
|
|
|
apt-get -qq update |
|
|
|
apt-get install -y -qq libboost-all-dev golang curl cmake build-essential libssl-dev git-core libzmq3-dev |
|
|
|
apt-get install -y -qq libboost-all-dev curl cmake build-essential libssl-dev git-core libzmq3-dev libsodium-dev |
|
|
|
|
|
|
|
curl -O https://dl.google.com/go/go1.11.1.linux-amd64.tar.gz && tar xzvf go1.11.1.linux-amd64.tar.gz |
|
|
|
|
|
|
|
echo 'export PATH=~/go/bin:$PATH' >> ~/.bashrc |
|
|
|
- restore_cache: |
|
|
|
- restore_cache: |
|
|
|
keys: |
|
|
|
keys: |
|
|
|
- v1-monero-{{ arch }}-v0.12.1.0.tar.gz |
|
|
|
- v1-monero-{{ arch }}-v0.13.0.2.tar.gz |
|
|
|
- run: | |
|
|
|
- run: | |
|
|
|
git clone --recursive --branch v0.12.1.0 https://github.com/monero-project/monero.git ~/monero-0.12.1.0 |
|
|
|
git clone --recursive --branch v0.13.0.2 https://github.com/monero-project/monero.git ~/monero-0.13.0.2 |
|
|
|
pushd ~/monero-0.12.1.0 && cmake -DBUILD_SHARED_LIBS=1 . && make && popd |
|
|
|
pushd ~/monero-0.13.0.2 && cmake -DBUILD_SHARED_LIBS=1 . && make && popd |
|
|
|
- save_cache: |
|
|
|
- save_cache: |
|
|
|
key: v1-monero-{{ arch }}-v0.12.1.0.tar.gz |
|
|
|
key: v1-monero-{{ arch }}-v0.13.0.2.tar.gz |
|
|
|
paths: |
|
|
|
paths: |
|
|
|
- ~/monero-0.12.1.0 |
|
|
|
- ~/monero-0.13.0.2 |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: Compile |
|
|
|
name: Compile |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
- MONERO_DIR: "~/monero-0.12.1.0" |
|
|
|
- MONERO_DIR: "~/monero-0.13.0.2" |
|
|
|
command: | |
|
|
|
command: | |
|
|
|
cmake . |
|
|
|
cmake . |
|
|
|
make |
|
|
|
make |
|
|
|