.travis.yml (1194B)
1 os: linux 2 dist: focal 3 language: minimal 4 before_install: 5 - sudo apt-get update 6 - sudo apt-get -y install build-essential qemu-user-static xz-utils gnupg wget binfmt-support 7 install: 8 - if ! [ -d /proc/sys/fs/binfmt_misc ]; then sudo modprobe binfmt_misc; fi 9 - if ! [ -f /proc/sys/fs/binfmt_misc/register ]; then sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc; fi 10 - echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/qemu-wrapper:' | sudo tee /proc/sys/fs/binfmt_misc/register 11 - sudo /etc/init.d/binfmt-support start 12 before_script: 13 - wget https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs/armv6-eabihf--glibc--bleeding-edge-2020.08-1.tar.bz2 14 - tar xf armv6-eabihf--glibc--bleeding-edge-2020.08-1.tar.bz2 15 - export PATH=$PATH:$PWD/armv6-eabihf--glibc--bleeding-edge-2020.08-1/bin 16 script: 17 - exit 0 18 # - make -j$(nproc) -e QEMU_ARM=/usr/bin/qemu-arm-static CROSS_COMPILE=arm-buildroot-linux-gnueabihf- all 19 # - make -j$(nproc) -e QEMU_ARM=/usr/bin/qemu-arm-static CROSS_COMPILE=arm-buildroot-linux-gnueabihf- image