13 Commits

Author SHA1 Message Date
c1f920a632 Update .gitlab-ci.yml file 2025-07-20 21:26:37 +00:00
de0a8dc342 Merge branch 'master' of gitlab.dukantic.fr:dukantic/polymusic 2025-07-20 23:15:49 +02:00
9a790af3d5 add optimisation 2025-07-20 22:44:43 +02:00
bc64f1b81d Update .gitlab-ci.yml file 2025-07-20 20:38:59 +00:00
2db3bfbc6d Update .gitlab-ci.yml file 2025-07-20 20:29:16 +00:00
4880c81d80 Update .gitlab-ci.yml file 2025-07-20 20:13:45 +00:00
b4210ce972 Update .gitlab-ci.yml file 2025-07-20 20:10:34 +00:00
b6f0a5025a Update .gitlab-ci.yml file 2025-07-20 19:54:07 +00:00
4c02ea41da Update .gitlab-ci.yml file 2025-07-20 19:45:19 +00:00
a1ba9e8dde Update .gitlab-ci.yml file 2025-07-20 19:39:33 +00:00
58624eb2ff Update .gitlab-ci.yml file 2025-07-20 19:35:39 +00:00
ad47e91d0a name and version 2025-07-20 21:29:06 +02:00
aa5283a000 name and version 2025-07-20 21:28:31 +02:00
3 changed files with 47 additions and 4 deletions

38
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,38 @@
stages:
- build
build_linux:
stage: build
script:
- cargo build --release
- cp target/release/polymusic .
artifacts:
paths:
- polymusic
- fonts/
- assets/
expire_in: 1 month
tags:
- linux
rules:
- if: $CI_COMMIT_TAG
when: on_success
- when: never
build_windows:
stage: build
script:
- cargo build --release --target x86_64-pc-windows-gnu
- cp target/x86_64-pc-windows-gnu/release/polymusic.exe .
artifacts:
paths:
- polymusic.exe
- fonts/
- assets/
expire_in: 1 month
tags:
- windows
rules:
- if: $CI_COMMIT_TAG
when: on_success
- when: never

4
Cargo.lock generated
View File

@@ -2833,8 +2833,8 @@ dependencies = [
] ]
[[package]] [[package]]
name = "polygomusic" name = "polymusic"
version = "0.1.0" version = "1.2.0"
dependencies = [ dependencies = [
"iced", "iced",
"iced_aw", "iced_aw",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "polygomusic" name = "polymusic"
version = "0.1.0" version = "1.2.0"
edition = "2024" edition = "2024"
build = "build.rs" build = "build.rs"
@@ -14,3 +14,8 @@ regex = "1.11.1"
iced_aw = {version = "0.12.2", default-features = true} iced_aw = {version = "0.12.2", default-features = true}
iced_fonts = "0.2.1" iced_fonts = "0.2.1"
smol_str = "0.3.2" smol_str = "0.3.2"
[profile.release]
opt-level = 3 # optimisation maximale (0 à 3)
lto = true # Link Time Optimization, optimise le binaire final
codegen-units = 1 # pour meilleure optimisation (par défaut c'est plus pour vitesse de compilation)
panic = 'abort' # pour binaire plus petit et rapide, abandonne unwind