From ac0cd2144df92a487acd98a43b1d7880a3044835 Mon Sep 17 00:00:00 2001 From: Stephen Date: Tue, 1 Jan 2019 17:45:13 -0800 Subject: [PATCH] Test i386 build (#1051) * Test i386 build * More i386 testing * switch i386 packages * add pthreads * switch to pthread dev * only dev libraries * add libgcc dev * libc for 386 * add gcc multilib * Update .travis.yml * test specific directories * remove clang --- .travis.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.travis.yml b/.travis.yml index c0d688c4..e465c5f1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,10 @@ os: - osx matrix: include: + - os: linux + compiler: gcc + env: CFLAGS="-m32" LDFLAGS="-m32" LDFLAGS_STATIC="-m32" UNICORN_QEMU_FLAGS="--cpu=i386" + script: make && make -C tests/unit test && make -C tests/regress test - if: branch = master os: osx script: brew install --HEAD unicorn && brew test unicorn @@ -24,5 +28,14 @@ matrix: - os: osx script: brew install --HEAD unicorn && brew test unicorn addons: + apt: + packages: + - lib32ncurses5-dev + - lib32z1-dev + - lib32bz2-dev + - libpthread-stubs0-dev + - lib32gcc-4.8-dev + - libc6-dev-i386 + - gcc-multilib homebrew: brewfile: true