test release

This commit is contained in:
Bruno Rybársky 2022-04-18 12:40:26 +02:00
parent 59ad1e47b3
commit c7990bf020
4 changed files with 14 additions and 7 deletions

@ -13,4 +13,10 @@ steps:
artifacts: artifacts:
- name: compiled - name: compiled
path: randMus path: randMus
type: file type: file
- name: gitea_release
image: plugins/gitea-release
settings:
api_key: "{{secrets.publisher}}"
base_url: https://brn.systems:3000
files: build/*

3
.gitignore vendored

@ -1,3 +1,4 @@
.vscode .vscode
out.ogg out.ogg
randMus randMus
build/*

@ -1,16 +1,16 @@
.DEFAULT_GOAL := all .DEFAULT_GOAL := all
clean: clean:
rm -f randMus rm -f build/*
compile: clean compile: clean
gcc -o randMus -ggdb randMus.c gcc -o build/randMus -ggdb randMus.c
run: compile run: compile
./randMus | aplay ./build/randMus | aplay
record: compile record: compile
rm -f out.ogg 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 all: compile run

@ -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 RandMus
======= =======