workflows: add tests.yml

This commit is contained in:
nillerusr
2022-08-17 11:22:05 +03:00
parent 9aa0ecab6a
commit 8b6ad0d342
6 changed files with 109 additions and 0 deletions

10
scripts/tests-ubuntu-amd64.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
git submodule init && git submodule update
sudo apt-get update
sudo apt-get install -f -y gdb libopenal-dev g++-multilib gcc-multilib libpng-dev libjpeg-dev libfreetype6-dev libfontconfig1-dev libcurl4-gnutls-dev libsdl2-dev zlib1g-dev libbz2-dev libedit-dev
./waf configure -T release --disable-warns --tests --prefix=out/ --64bits $* &&
./waf install &&
cd out &&
LD_LIBRARY_PATH=. ./unittest