Add linux-x86 build

This commit is contained in:
btwiuse 2019-11-03 00:41:19 +08:00 committed by klzgrad
parent fbe0ed569a
commit c054bf656a
3 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,10 @@ matrix:
- name: "linux-x64"
os: linux
dist: bionic
- name: "linux-x86"
os: linux
dist: bionic
env: EXTRA_FLAGS='target_cpu="x86"'
- name: "linux-arm64"
os: linux
dist: bionic

View File

@ -27,6 +27,9 @@ if [ "$ARCH" = Linux ]; then
build_sysroot I386
build_sysroot ARM
;;
x86)
build_sysroot I386
;;
esac
fi

View File

@ -7,6 +7,7 @@ if [ "$(uname)" = Linux ]; then
case "$target_cpu" in
arm64) naive="qemu-aarch64 -L src/build/linux/debian_sid_arm64-sysroot $naive";;
arm) naive="qemu-arm -L src/build/linux/debian_sid_arm-sysroot $naive";;
x86) naive="qemu-i386 -L src/build/linux/debian_sid_i386-sysroot $naive";;
esac
fi