Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c1f920a632 | |||
| de0a8dc342 | |||
| 9a790af3d5 | |||
| bc64f1b81d | |||
| 2db3bfbc6d | |||
| 4880c81d80 | |||
| b4210ce972 | |||
| b6f0a5025a | |||
| 4c02ea41da | |||
| a1ba9e8dde | |||
| 58624eb2ff | |||
| ad47e91d0a | |||
| aa5283a000 |
38
.gitlab-ci.yml
Normal file
38
.gitlab-ci.yml
Normal 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
4
Cargo.lock
generated
@@ -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",
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user