.gitlab-ci.yml 791 B

12345678910111213141516171819202122232425262728293031323334
  1. image: debian:testing
  2. before_script:
  3. - dpkg --add-architecture i386
  4. - dpkg --add-architecture arm64
  5. - dpkg --add-architecture armhf
  6. - apt-get update -qq
  7. - apt-get install -y
  8. libc6-dev:amd64 gcc make
  9. qemu binfmt-support qemu-user-static
  10. gcc-i686-linux-gnu libc6-dev-i386-cross libc6:i386
  11. gcc-aarch64-linux-gnu libc6-dev-arm64-cross libc6:arm64
  12. gcc-arm-linux-gnueabihf libc6-dev-armhf-cross libc6:armhf
  13. x86-64:
  14. stage: test
  15. script:
  16. - make -C tests test-native
  17. i686:
  18. stage: test
  19. script:
  20. - make -C tests test-ia32 CC_IA32=i686-linux-gnu-gcc
  21. aarch64:
  22. stage: test
  23. script:
  24. - make -C tests test-aarch64 CC_AARCH64=aarch64-linux-gnu-gcc
  25. armhf:
  26. stage: test
  27. script:
  28. - make -C tests test-armv7 CC_ARMv7=arm-linux-gnueabihf-gcc