i386
Thomas Orozco 8 years ago
parent 9c00aea006
commit 4498761929
  1. 1
      .travis.yml
  2. 3
      ci/install_deps.sh
  3. 4
      ci/run_build.sh
  4. 1
      ddist.sh

@ -8,6 +8,7 @@ env:
- CC=gcc ARCH_SUFFIX=amd64 ARCH_NATIVE=1 NO_ARGS=
- CC=arm-linux-gnueabihf-gcc ARCH_SUFFIX=armhf ARCH_NATIVE= NO_ARGS=
- CC=aarch64-linux-gnu-gcc ARCH_SUFFIX=arm64 ARCH_NATIVE= NO_ARGS=
- CFLAGS="-m32" ARCH_SUFFIX=i386 ARCH_NATIVE= NO_ARGS=
- CC=gcc ARCH_SUFFIX=amd64 ARCH_NATIVE=1 NO_ARGS=1
global:
- SIGN_BINARIES=1

@ -9,6 +9,7 @@ apt-get install --no-install-recommends --yes \
python-dev libcap-dev python-pip python-virtualenv \
hardening-includes gnupg vim-common \
gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu libc6-dev-arm64-cross \
gcc-arm-linux-gnueabihf binutils-arm-linux-gnueabi libc6-dev-armhf-cross
gcc-arm-linux-gnueabihf binutils-arm-linux-gnueabi libc6-dev-armhf-cross \
libc6-dev-i386 gcc-multilib
rm -rf /var/lib/apt/lists/*

@ -27,13 +27,11 @@ export BUILD_DIR="$(readlink -f "${BUILD_DIR}")"
: ${FORCE_SUBREAPER:="1"}
export FORCE_SUBREAPER
# Our build platform doesn't have those newer Linux flags, but we want Tini to have subreaper support
# We also use those in our tests
CFLAGS="-DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37"
if [[ "${FORCE_SUBREAPER}" -eq 1 ]]; then
# If FORCE_SUBREAPER is requested, then we set those CFLAGS for the Tini build
export CFLAGS
export CFLAGS="-DPR_SET_CHILD_SUBREAPER=36 -DPR_GET_CHILD_SUBREAPER=37 ${CFLAGS:-}"
fi
# Ensure Python output is not buffered (to make tests output clearer)

@ -22,6 +22,7 @@ docker run -it --rm \
-e FORCE_SUBREAPER="${FORCE_SUBREAPER:="1"}" \
-e GPG_PASSPHRASE="${GPG_PASSPHRASE:=}" \
-e CC="${CC:=gcc}" \
-e CFLAGS="${CFLAGS-}" \
-e ARCH_NATIVE="${ARCH_NATIVE-1}" \
-e ARCH_SUFFIX="${ARCH_SUFFIX-}" \
-e NO_ARGS="${NO_ARGS-}" \

Loading…
Cancel
Save