~welt/murse

75c250336f688ace43d1d0e3aeb24e295960f1fb — welt 19 days ago dafdd50
Add build support
1 files changed, 17 insertions(+), 0 deletions(-)

A .builds/build.yml
A .builds/build.yml => .builds/build.yml +17 -0
@@ 0,0 1,17 @@
image: alpine/edge
packages:
  - go
  - rsync
secrets:
  - f9c53b5e-7a8b-4ea1-a0b0-99725eb1c641
sources:
  - https://git.sr.ht/~welt/murse
tasks:
- build: |  
    cd murse
    go build -ldflags "-s -w" ./
    GOOS="windows" go build -ldflags "-s -w" ./
- upload: |
    echo "StrictHostKeyChecking=no" >> ~/.ssh/config
    rsync murse/murse dl@willow.spiderden.net:/var/www/dl.spiderden.net/murse/linux
    rsync murse/murse.exe dl@willow.spiderden.net:/var/www/dl.spiderden.net/murse/windows.exe