From c7990bf020c7c5ad912ff4aa8d6555ad85c335b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Mon, 18 Apr 2022 12:40:26 +0200 Subject: [PATCH] test release --- .drone.yml | 8 +++++++- .gitignore | 3 ++- Makefile | 8 ++++---- README.md | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 91addf5..e076fff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,4 +13,10 @@ steps: artifacts: - name: compiled path: randMus - type: file \ No newline at end of file + type: file + - name: gitea_release + image: plugins/gitea-release + settings: + api_key: "{{secrets.publisher}}" + base_url: https://brn.systems:3000 + files: build/* \ No newline at end of file diff --git a/.gitignore b/.gitignore index 04956e8..2ee4278 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .vscode out.ogg -randMus \ No newline at end of file +randMus +build/* \ No newline at end of file diff --git a/Makefile b/Makefile index 0e351f5..c61a8ac 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,16 @@ .DEFAULT_GOAL := all clean: - rm -f randMus + rm -f build/* compile: clean - gcc -o randMus -ggdb randMus.c + gcc -o build/randMus -ggdb randMus.c run: compile - ./randMus | aplay + ./build/randMus | aplay record: compile rm -f out.ogg - ./randMus|ffmpeg -f u16le -ar 8000 -ac 1 -i - -to 00:05:00 out.ogg + ./build/randMus|ffmpeg -f u16le -ar 8000 -ac 1 -i - -to 00:05:00 out.ogg all: compile run \ No newline at end of file diff --git a/README.md b/README.md index 084d7bb..b968902 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +[![Build Status](https://drone.brn.systems/api/badges/BRNSystems/RandMus/status.svg?ref=refs/heads/master)](https://drone.brn.systems/BRNSystems/RandMus) RandMus =======