Add linux-x86 build

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

View File

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

View File

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

View File

@ -7,6 +7,7 @@ if [ "$(uname)" = Linux ]; then
case "$target_cpu" in case "$target_cpu" in
arm64) naive="qemu-aarch64 -L src/build/linux/debian_sid_arm64-sysroot $naive";; 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";; 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 esac
fi fi