diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000000000000000000000000000000000000..c8f7635c984ddee54df0aa13ba810c0a1d76e46e
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,23 @@
+before_script:
+  - for ip in $(dig @8.8.8.8 github.com +short); do ssh-keyscan github.com,$ip; ssh-keyscan $ip; done 2>/dev/null >> ~/.ssh/known_hosts
+  - for ip in $(dig @8.8.8.8 git.xx.network +short); do ssh-keyscan git.xx.network,$ip; ssh-keyscan $ip; done 2>/dev/null >> ~/.ssh/known_hosts
+  - xcodebuild -version
+
+stages:
+  - test
+
+test-package-macos:
+  stage: test
+  tags: 
+    - ios
+  script:
+    - ./run-tests.sh macos
+  retry: 1
+
+test-package-ios:
+  stage: test
+  tags: 
+    - ios
+  script:
+    - ./run-tests.sh ios
+  retry: 1