add drone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Bruno Rybársky 2022-05-29 10:29:50 +02:00
parent c5af2046e2
commit a2ec2614ac

25
.drone.yml Normal file

@ -0,0 +1,25 @@
kind: pipeline
name: mazegame_compiler
type: docker
steps:
- name: compile main.c
description: Check if the code is compiling
image: alpine
#install make and gcc
commands:
- apk add build-base
- mkdir build
- gcc -o build/main main.c
artifacts:
- name: compiled
path: main
type: file
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_api_key
base_url: https://brn.systems:3000
files: build/*
when:
event: tag