-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
1 changed file
with
0 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|