go-ebur128/.drone.yml
DataHoarder ffc70c6395
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Initial commit
2022-03-08 11:31:08 +01:00

19 lines
541 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: test
image: golang:1.18rc1-bullseye
commands:
- DEBIAN_FRONTEND=noninteractive apt update
- DEBIAN_FRONTEND=noninteractive apt install -y libebur128-dev ffmpeg
- cd sample
- ffmpeg -i MooveKa_-_Rockabilly_Punk_Rock.mp3 -map 0:a:0 -ar 44100 -ac 2 -c:a pcm_f32le -f f32le test_f32.raw
- ffmpeg -i MooveKa_-_Rockabilly_Punk_Rock.mp3 -map 0:a:0 -ar 44100 -ac 2 -c:a pcm_s16le -f s16le test_s16.raw
- cd ..
- go test -cover -v
...