Files
Polymusic/.gitlab-ci.yml
2025-07-20 21:26:37 +00:00

38 lines
670 B
YAML

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