32 bit builds (#32)

* Support 32-bit Linux builds

* Update README and correct scripts

* Use npm run instead of npx
This commit is contained in:
Peter Squicciarini
2018-10-04 18:05:05 -04:00
committed by GitHub
parent 1a85464271
commit ae47b31091
6 changed files with 75 additions and 28 deletions

View File

@@ -7,4 +7,10 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
else
sudo apt-get update
sudo apt-get install libx11-dev libxkbfile-dev libsecret-1-dev fakeroot rpm
if [[ "$BUILDARCH" == "ia32" ]]; then
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6-dev-i386 gcc-multilib g++-multilib
sudo apt-get install libx11-dev:i386 libxkbfile-dev:i386
fi
fi