From f71054949d1b2d1f9d633bffd2950f3bb4ec8b6c 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