passphrase/.drone.yml
Joseph Montanaro 741d70ea42
All checks were successful
continuous-integration/drone/push Build is passing
try to figure out why linux build isn't running
2021-07-28 16:47:12 -07:00

39 lines
701 B
YAML

kind: pipeline
type: docker
name: main
trigger:
branch:
- master
event:
- push
- tag
steps:
- name: build-windows
image: nimlang/nim
commands:
- apt update
- apt install -y mingw-w64
- nimble build -y -d:mingw
- name: build-linux
image: nimlang/nim
commnds:
- nimble build -y -o:passphrase_linux -d:release
- name: release
image: plugins/gitea-release
when:
event: tag
depends_on:
- build-windows
- build-linux
settings:
base_url: 'https://git.jfmonty2.com/jfmonty2/passphrase.git'
files:
- passphrase_linux
- passphrase.exe
api_key:
from_secret: gitea_token