diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0efb4e9245bf0cdc06755b384e8875f2ccf8468a..1283ebf0e8c813dbce4a29c7acfdd130c42d9c21 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -226,3 +226,10 @@ cross/s390x-linux-gnu:
   variables:
     EXTRA_CONFIGURE_ARGS: '--disable-assembler'
     EMULATOR: qemu-s390x
+
+cross/sparc64-linux-gnu:
+  extends: .cross-build
+  variables:
+    EXTRA_CONFIGURE_ARGS: '--enable-mini-gmp'
+    QEMU_LD_PREFIX: /usr/sparc64-linux-gnu
+    EMULATOR: qemu-sparc64