mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
add mac build CI to drone
This commit is contained in:
parent
bda76b6be9
commit
9e681cb4c2
1 changed files with 48 additions and 2 deletions
50
.drone.yml
50
.drone.yml
|
@ -1,10 +1,56 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: linux-build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: wow-ci
|
- name: linux-build
|
||||||
image: wow-dependencies:v1.0
|
image: wow-dependencies:v1.0
|
||||||
commands:
|
commands:
|
||||||
- make -j2 release-static-linux-x86_64
|
- make -j2 release-static-linux-x86_64
|
||||||
|
|
||||||
|
- name: discord linux notification
|
||||||
|
image: appleboy/drone-discord
|
||||||
|
settings:
|
||||||
|
webhook_id:
|
||||||
|
from_secret: discord_webhook_id
|
||||||
|
webhook_token:
|
||||||
|
from_secret: discord_webhook_token
|
||||||
|
message: Linux build {{build.number}} complete. {{build.link}}
|
||||||
|
depends_on:
|
||||||
|
- linux-build
|
||||||
|
|
||||||
|
- name: matrix linux notification
|
||||||
|
image: plugins/matrix
|
||||||
|
settings:
|
||||||
|
homeserver: https://matrix.org
|
||||||
|
roomid: tfuEmpojJyhMTMjNeN:matrix.org
|
||||||
|
username:
|
||||||
|
from_secret: matrix_username
|
||||||
|
password:
|
||||||
|
from_secret: matrix_password
|
||||||
|
template: Linux build {{build.number}} complete. {{build.link}}
|
||||||
|
depends_on:
|
||||||
|
- linux-build
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: ssh
|
||||||
|
name: mac-build
|
||||||
|
|
||||||
|
server:
|
||||||
|
host:
|
||||||
|
from_secret: mac-server
|
||||||
|
user:
|
||||||
|
from_secret: mac-user
|
||||||
|
ssh_key:
|
||||||
|
from_secret: ssh-key
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: mac-build
|
||||||
|
commands:
|
||||||
|
- /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
|
||||||
|
- export PATH=/usr/local/bin:$PATH
|
||||||
|
- brew update
|
||||||
|
- brew bundle --file=contrib/brew/Brewfile
|
||||||
|
- make -j3 release-static
|
Loading…
Add table
Add a link
Reference in a new issue