vision/.drone.yml
Martijn de Boer 8f2bca2422
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
switch to ubuntu jammy
2022-10-29 16:31:53 +02:00

29 lines
No EOL
591 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: lint
image: registry.gitlab.com/pipeline-components/luacheck:latest
commands:
- luacheck --std +love -g -u -t .
- name: build
image: ubuntu:jammy
when:
event: tag
commands:
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install curl zip git
- chmod +x tools/build.sh
- bash tools/build.sh
- name: release
image: plugins/gitea-release
when:
event: tag
settings:
api_key:
from_secret: gitea_api
base_url: https://git.biggetje.net
files: release/*
prerelease: true