automated builds
continuous-integration/drone/push Build is passing Details

pull/2/head
cosmonaut 2023-05-27 17:04:55 -07:00
parent 0ef05c803a
commit 8388706d6d
1 changed files with 32 additions and 0 deletions

32
.drone.yml Normal file
View File

@ -0,0 +1,32 @@
kind: pipeline
type: docker
name: default
steps:
- name: build-linux
image: thatcosmonaut/moonworks-build
commands:
- cmake -E make_directory ./build
- cd ./build
- cmake -DCMAKE_C_COMPILER=/usr/bin/clang -S .. -B .
- make
- name: build-windows
image: thatcosmonaut/moonworks-build
commands:
- cmake -E make_directory ./windows-build
- cd ./windows-build
- mingw64-cmake -S .. -B .
- make
- name: gitea_release
image: plugins/gitea-release
settings:
base_url: https://gitea.moonside.games
api_key:
from_secret: gitea_token
files:
- ./build/cramcli
- ./windows-build/cramcli.exe
when:
event: tag