debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DH_GOLANG_EXCLUDES := benchmark |
| 4 | |
| 5 | %: |
| 6 | dh $@ --builddirectory=_build --buildsystem=golang |
| 7 | |
| 8 | override_dh_auto_test: |
| 9 | ifneq (,$(filter $(DEB_HOST_ARCH), arm64 armhf armel i386 ppc64el riscv64)) |
| 10 | # Skip some time consuming tests, to avoid FTBFS issue |
| 11 | # on reproducible-builds.org CI tests. |
| 12 | dh_auto_test -O--buildsystem=golang -- -short |
| 13 | else |
| 14 | dh_auto_test -O--buildsystem=golang |
| 15 | endif |