source-engine/scripts/tests-ubuntu-i386.sh

12 lines
391 B
Bash
Raw Normal View History

2023-04-05 22:27:17 +00:00
install#!/bin/sh
2022-08-17 08:22:05 +00:00
git submodule init && git submodule update
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y g++-multilib gcc-multilib libbz2-dev:i386
2022-08-17 08:22:05 +00:00
2023-04-07 10:25:58 +00:00
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T release --sanitize=address,undefined --disable-warns --tests --prefix=out/ $* &&
2022-08-17 08:22:05 +00:00
./waf install &&
cd out &&
2022-08-17 10:39:51 +00:00
LD_LIBRARY_PATH=bin/ ./unittest