From a1ba9e8dde8447e9f0bb32d65117a35c543e5266 Mon Sep 17 00:00:00 2001 From: dukantic Date: Sun, 20 Jul 2025 19:39:33 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0fcc3aa..28e4e95 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,28 @@ -build_job: +stages: + - build + +build_linux: + stage: build script: - cargo build --release artifacts: paths: - - target/release/polygomusic.exe + - target/release/polygomusic - fonts/ - assets/ expire_in: 1 month + tags: + - linux + +build_windows: + stage: build + script: + - cargo build --release --target x86_64-pc-windows-gnu + artifacts: + paths: + - target/x86_64-pc-windows-gnu/release/polygomusic.exe + - fonts/ + - assets/ + expire_in: 1 month + tags: + - windows