From 177a160ead724a635b1a47ef13245cec56f2d500 Mon Sep 17 00:00:00 2001
From: togir <marvin@weiler.rocks>
Date: Tue, 8 Mar 2022 10:21:24 +0000
Subject: [PATCH] Update .gitlab-ci.yml file

---
 .gitlab-ci.yml | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e54bc89..42daeee 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,35 +2,42 @@ stages:
   - build
   - distribute
 
-build:windows:
+build:x86_64windows:
   rules:
     - if: $CI_COMMIT_TAG
   stage: build
   image: rust:1-buster
   before_script:
     - rustup target add x86_64-pc-windows-gnu
-    - rustup target add i686-pc-windows-gnu
+    - apt install gcc-mingw-w64-x86-64
   script:
     - cargo build --release --target=x86_64-pc-windows-gnu
-    - cargo build --release --target=i686-pc-windows-gnu
   artifacts:
     paths:
       - target/
 
-build:linux:
+build:x86_64linux:
   rules:
     - if: $CI_COMMIT_TAG
   stage: build
   image: rust:1-buster
   before_script:
     - rustup target add i686-unknown-linux-gnu
-    - rustup target add armv7-unknown-linux-gnueabihf
-    - rustup target add aarch64-unknown-linux-gnu
   script:
     - cargo build --release --target=x86_64-unknown-linux-gnu
-    - cargo build --release --target=aarch64-unknown-linux-gnu
+  artifacts:
+    paths:
+      - target/
+
+build:i686linux:
+  rules:
+    - if: $CI_COMMIT_TAG
+  stage: build
+  image: rust:1-buster
+  before_script:
+    - rustup target add i686-unknown-linux-gnu
+  script:
     - cargo build --release --target=i686-unknown-linux-gnu
-    - cargo build --release --target=armv7-unknown-linux-gnueabihf
   artifacts:
     paths:
       - target/
-- 
GitLab