diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8f0a8d00e8f7c580c43242d36e7256dec33583c7..92ad083a95087486b053b507e9ae6f957d9d5bfe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@ stages:
 
 before_script:
   - apt-get update
-  - apt-get install -y protobuf-compiler
+  - apt-get install -y protobuf-compiler gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu
   - rustup component add rustfmt
   - rustup component add clippy
   - cargo install cargo-deb