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

12 lines
400 B
Bash
Raw Permalink Normal View History

2023-04-06 06:27:17 +08:00
install#!/bin/sh
2022-08-17 16:22:05 +08: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 16:22:05 +08:00
2023-11-09 02:58:33 +08: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 16:22:05 +08:00
./waf install &&
cd out &&
2022-08-17 18:39:51 +08:00
LD_LIBRARY_PATH=bin/ ./unittest