fix msys2 and travis builds (#1118)
* fix msys2 builds * move to travis xenial now the default * add i386 cmocka * move to only different cmocka on 32 bit build * minimize packages on non x86
This commit is contained in:
parent
2a4924b161
commit
8f0f77233d
@ -2,7 +2,7 @@
|
||||
environment:
|
||||
CYG_MIRROR: http://cygwin.mirror.constant.com
|
||||
CYG_PACKAGES: make,gcc-core,clang,pkg-config,libpcre-devel,cmake,python27-setuptools,ruby,mingw64-i686-gcc-core,mingw64-x86_64-gcc-core
|
||||
MSYS_PACKAGES: mingw-w64-x86_64-cmocka mingw-w64-i686-cmocka mingw-w64-x86_64-python2-setuptools mingw-w64-i686-python2-setuptools
|
||||
MSYS_PACKAGES: mingw-w64-x86_64-cmocka mingw-w64-i686-cmocka mingw-w64-x86_64-python3-setuptools mingw-w64-i686-python3-setuptools
|
||||
matrix:
|
||||
- MSYSTEM: MINGW64
|
||||
BASH: C:\msys64\usr\bin\bash
|
||||
|
43
.travis.yml
43
.travis.yml
@ -1,7 +1,5 @@
|
||||
language: c
|
||||
sudo: false
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./install-cmocka-linux.sh; fi
|
||||
env:
|
||||
- PATH=$PATH:/usr/local/opt/binutils/bin
|
||||
script:
|
||||
@ -18,40 +16,6 @@ matrix:
|
||||
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
|
||||
- os: linux
|
||||
dist: xenial
|
||||
before_install:
|
||||
compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- lib32ncurses5-dev
|
||||
- lib32z1-dev
|
||||
- libpthread-stubs0-dev
|
||||
- lib32gcc-4.8-dev
|
||||
- libc6-dev-i386
|
||||
- gcc-multilib
|
||||
- libcmocka-dev
|
||||
- os: linux
|
||||
dist: xenial
|
||||
before_install:
|
||||
compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- lib32ncurses5-dev
|
||||
- lib32z1-dev
|
||||
- libpthread-stubs0-dev
|
||||
- lib32gcc-4.8-dev
|
||||
- libc6-dev-i386
|
||||
- gcc-multilib
|
||||
- libcmocka-dev
|
||||
- os: linux
|
||||
dist: xenial
|
||||
before_install:
|
||||
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
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
@ -76,13 +40,8 @@ matrix:
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- lib32ncurses5-dev
|
||||
- lib32z1-dev
|
||||
- lib32bz2-dev
|
||||
- libpthread-stubs0-dev
|
||||
- lib32gcc-4.8-dev
|
||||
- libc6-dev-i386
|
||||
- gcc-multilib
|
||||
- libcmocka-dev
|
||||
homebrew:
|
||||
update: true
|
||||
brewfile: true
|
||||
|
Loading…
Reference in New Issue
Block a user