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

12 lines
400 B
Bash
Raw Permalink 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-11-08 18:58:33 +00:00
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T release --32bits --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