|
|
|
@ -13,23 +13,23 @@ jobs:
@@ -13,23 +13,23 @@ jobs:
|
|
|
|
|
steps: |
|
|
|
|
- run: | |
|
|
|
|
apt-get -qq update |
|
|
|
|
apt-get install -y -qq libboost-all-dev golang curl cmake build-essential libssl-dev git-core |
|
|
|
|
apt-get install -y -qq libboost-all-dev golang curl cmake build-essential libssl-dev git-core libunbound-dev libzmq3-dev |
|
|
|
|
- restore_cache: |
|
|
|
|
keys: |
|
|
|
|
- v1-monero-{{ arch }}-v0.11.1.0.tar.gz |
|
|
|
|
- v1-monero-{{ arch }}-v0.12.0.0.tar.gz |
|
|
|
|
- run: | |
|
|
|
|
curl -L -o ~/v0.11.1.0.tar.gz https://github.com/monero-project/monero/archive/v0.11.1.0.tar.gz |
|
|
|
|
tar xzvf ~/v0.11.1.0.tar.gz -C ~/ |
|
|
|
|
pushd ~/monero-0.11.1.0 && cmake -DBUILD_SHARED_LIBS=1 . && make && popd |
|
|
|
|
curl -L -o ~/v0.12.0.0.tar.gz https://github.com/monero-project/monero/archive/v0.12.0.0.tar.gz |
|
|
|
|
tar xzvf ~/v0.12.0.0.tar.gz -C ~/ |
|
|
|
|
pushd ~/monero-0.12.0.0 && cmake -DBUILD_SHARED_LIBS=1 . && make && popd |
|
|
|
|
- save_cache: |
|
|
|
|
key: v1-monero-{{ arch }}-v0.11.1.0.tar.gz |
|
|
|
|
key: v1-monero-{{ arch }}-v0.12.0.0.tar.gz |
|
|
|
|
paths: |
|
|
|
|
- ~/monero-0.11.1.0 |
|
|
|
|
- ~/monero-0.12.0.0 |
|
|
|
|
- checkout |
|
|
|
|
- run: |
|
|
|
|
name: Compile |
|
|
|
|
environment: |
|
|
|
|
- MONERO_DIR: "~/monero-0.11.1.0" |
|
|
|
|
- MONERO_DIR: "~/monero-0.12.0.0" |
|
|
|
|
command: | |
|
|
|
|
cmake . |
|
|
|
|
make |
|
|
|
|