2022-08-17 16:22:05 +08:00
|
|
|
#!/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
|
|
|
|
|
2023-04-07 18:25:58 +08:00
|
|
|
./waf configure -T release --sanitize=address,undefined --disable-warns --tests --prefix=out/ --64bits $* &&
|
2022-08-17 16:22:05 +08:00
|
|
|
./waf install &&
|
|
|
|
cd out &&
|
2022-08-17 18:39:51 +08:00
|
|
|
LD_LIBRARY_PATH=bin/ ./unittest
|