Publish build artifacts to dirl
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Publish build artifacts to https://dirlist.friedl.net/cicd/xwim
This commit is contained in:
parent
f80dc1decd
commit
df9c9d48cc
1 changed files with 19 additions and 0 deletions
19
.drone.yml
19
.drone.yml
|
@ -8,12 +8,31 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- meson target/shared
|
- meson target/shared
|
||||||
- ninja -C target/shared
|
- ninja -C target/shared
|
||||||
|
- mv target/shared/src/xwim xwim-x86_64-glibc-linux-shared
|
||||||
|
|
||||||
- name: build-static
|
- name: build-static
|
||||||
image: arminfriedl/xwim-build:static
|
image: arminfriedl/xwim-build:static
|
||||||
commands:
|
commands:
|
||||||
- meson --default-library=static target/static
|
- meson --default-library=static target/static
|
||||||
- ninja -C target/static
|
- ninja -C target/static
|
||||||
|
- mv target/static/src/xwim xwim-x86_64-musl-linux-static
|
||||||
|
|
||||||
|
- name: publish-binaries
|
||||||
|
image: appleboy/drone-scp
|
||||||
|
settings:
|
||||||
|
host: friedl.net
|
||||||
|
username:
|
||||||
|
from_secret: deploy_user
|
||||||
|
password:
|
||||||
|
from_secret: deploy_password
|
||||||
|
port: 22
|
||||||
|
target: /var/services/dirlist/repo/cicd/xwim/${DRONE_COMMIT_SHA:0:8}/
|
||||||
|
source:
|
||||||
|
- xwim-x86_64-glibc-linux-shared
|
||||||
|
- xwim-x86_64-musl-linux-static
|
||||||
|
depends_on:
|
||||||
|
- build-shared
|
||||||
|
- build-static
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|
Loading…
Reference in a new issue