Skip to content

Commit

Permalink
Remove bad installation
Browse files Browse the repository at this point in the history
GitHub action doesn't allow to use our own image. So let's run test as
usual starting jackd server, sleeping 1 second and running the tests.
  • Loading branch information
metal3d committed Oct 24, 2023
1 parent d8a6a18 commit 4c7de98
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,29 +1,8 @@
test:
go test -cover -coverprofile=coverprofile -v ./...



.ONE_SHELL:
citest:
apt-get update
DEBIAN_FRONTEND=noninteractive \
apt-get install -y \
libgstreamer1.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools \
gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 \
gstreamer1.0-pulseaudio
jackd -r -d dummy &>/dev/null &
sleep 1
$(MAKE) test


test-ci-test:
podman build -t test/goci:1.20 test-files/docker/
podman run --rm -it \
-v $(shell pwd):/app \
-w /app \
test/goci:1.20 \
make citest


0 comments on commit 4c7de98

Please sign in to comment.