diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5ca3d5c7a3b52205525da8c6a07e2da332e8ea33..cf17b0cfee44bc295343ea7f8cab129ec1ee5884 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -53,6 +53,7 @@ build-macos:
   before_script:
     - brew update
     - brew bundle --file=./.ci/macos/Brewfile
+    - pip install dmgbuild
   script:
     - export PATH=/usr/local/opt/qt/bin/:${PATH}
     - export CMAKE_PREFIX_PATH=/usr/local/opt/qt5