mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
Merge pull request 'Drone: cache monero deps' (#295) from tobtoht/feather:drone_cache_monero_deps into master
Reviewed-on: https://git.wownero.com/feather/feather/pulls/295
This commit is contained in:
commit
c2b5a13f59
1 changed files with 19 additions and 14 deletions
33
.drone.yml
33
.drone.yml
|
@ -9,15 +9,12 @@ steps:
|
||||||
volumes:
|
volumes:
|
||||||
- name: ccache_linux_release
|
- name: ccache_linux_release
|
||||||
path: /root/.ccache
|
path: /root/.ccache
|
||||||
|
- name: monero
|
||||||
|
path: /drone/src/monero
|
||||||
- name: files_linux_release
|
- name: files_linux_release
|
||||||
path: /files
|
path: /files
|
||||||
commands:
|
commands:
|
||||||
- git config --global url."http://gitea:3000/tor/".insteadOf https://git.torproject.org/
|
- TOR_BIN="/usr/local/tor/bin/tor" make -j11 release-static
|
||||||
- git config --global url."http://gitea:3000/".insteadOf https://github.com/
|
|
||||||
- git config --global url."http://gitea:3000/".insteadOf https://git.wownero.com/
|
|
||||||
- git submodule update --init monero
|
|
||||||
- git submodule update --init --depth 1 --recursive monero
|
|
||||||
- TOR_BIN="/usr/local/tor/bin/tor" make -j8 release-static
|
|
||||||
environment:
|
environment:
|
||||||
OPENSSL_ROOT_DIR: /usr/local/openssl/
|
OPENSSL_ROOT_DIR: /usr/local/openssl/
|
||||||
CMAKEFLAGS_EXTRA: -DFETCH_DEPS=Off
|
CMAKEFLAGS_EXTRA: -DFETCH_DEPS=Off
|
||||||
|
@ -41,6 +38,9 @@ volumes:
|
||||||
- name: ccache_linux_release
|
- name: ccache_linux_release
|
||||||
host:
|
host:
|
||||||
path: /var/drone/ccache_linux_release/
|
path: /var/drone/ccache_linux_release/
|
||||||
|
- name: monero
|
||||||
|
host:
|
||||||
|
path: /var/drone/monero
|
||||||
- name: files_linux_release
|
- name: files_linux_release
|
||||||
host:
|
host:
|
||||||
path: /build/feather_files/files/linux-release/
|
path: /build/feather_files/files/linux-release/
|
||||||
|
@ -88,15 +88,14 @@ steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: feather:win
|
image: feather:win
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: ccache_win_release
|
||||||
|
path: /root/.ccache
|
||||||
- name: files_win_release
|
- name: files_win_release
|
||||||
path: /files
|
path: /files
|
||||||
|
- name: monero
|
||||||
|
path: /drone/src/monero
|
||||||
commands:
|
commands:
|
||||||
- git config --global url."http://gitea:3000/tor/".insteadOf https://git.torproject.org/
|
- TOR_BIN="/usr/local/tor/bin/tor.exe" make depends root=/depends target=x86_64-w64-mingw32 tag=win-x64 -j11
|
||||||
- git config --global url."http://gitea:3000/".insteadOf https://github.com/
|
|
||||||
- git config --global url."http://gitea:3000/".insteadOf https://git.wownero.com/
|
|
||||||
- git submodule update --init monero
|
|
||||||
- git submodule update --init --depth 1 --recursive monero
|
|
||||||
- TOR_BIN="/usr/local/tor/bin/tor.exe" make depends root=/depends target=x86_64-w64-mingw32 tag=win-x64 -j6
|
|
||||||
environment:
|
environment:
|
||||||
CMAKEFLAGS_EXTRA: -DFETCH_DEPS=Off
|
CMAKEFLAGS_EXTRA: -DFETCH_DEPS=Off
|
||||||
- name: deploy
|
- name: deploy
|
||||||
|
@ -109,12 +108,18 @@ steps:
|
||||||
- export TARGET_DIR="/files/$DRONE_SOURCE_BRANCH"
|
- export TARGET_DIR="/files/$DRONE_SOURCE_BRANCH"
|
||||||
- mkdir -p "$TARGET_DIR"
|
- mkdir -p "$TARGET_DIR"
|
||||||
- echo "writing to $TARGET_DIR/$FN"
|
- echo "writing to $TARGET_DIR/$FN"
|
||||||
- zip -j "$TARGET_DIR/$FN" build/bin/feather.exe
|
- zip -j "$TARGET_DIR/$FN" build/x86_64-w64-mingw32/release/bin/feather.exe
|
||||||
- echo "[*] written to https://build.featherwallet.org/files/windows-mxe-release/$DRONE_SOURCE_BRANCH/$FN"
|
- echo "[*] written to https://build.featherwallet.org/files/windows-release/$DRONE_SOURCE_BRANCH/$FN"
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: ccache_win_release
|
||||||
|
host:
|
||||||
|
path: /var/drone/ccache_win_release/
|
||||||
- name: files_win_release
|
- name: files_win_release
|
||||||
host:
|
host:
|
||||||
path: /build/feather_files/files/windows-release/
|
path: /build/feather_files/files/windows-release/
|
||||||
|
- name: monero
|
||||||
|
host:
|
||||||
|
path: /var/drone/monero
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
|
Loading…
Reference in a new issue