[chore]: try to build a windows packaging pipeline
Some checks failed
/ clippy (push) Failing after 7m33s
/ test (push) Failing after 6m58s

This commit is contained in:
Chris Cochrun 2026-05-05 14:07:57 -05:00
parent f7d6b6be96
commit 38dadc9150
2 changed files with 18 additions and 0 deletions

View file

@ -69,6 +69,19 @@ features = ["wgpu"]
# [profile.dev]
# opt-level = 3
[package.metadata.packager]
version = "0.1.0"
identifier = "xyz.cochrun.lumina"
icons = ["res/icons/app.ico"]
resources = ["res"]
category = "Video"
[package.metadata.packager.windows]
allow_downgrades = true
[package.metadata.packager.nsis]
installer_icon = "res/icons/app.ico"
[profile.release]
opt-level = 3
debug = true

View file

@ -43,6 +43,11 @@ alias rr := run-release
alias rf := run-file
alias c := clean
##### Sets up and builds the exe installer with nsis
windows-packager:
cargo install cargo-packager --locked
cargo build --release
cargo packager --release -f nsis
##### Sets up flatpak to be able to build the lumina flatpak using all the latest pieces
flatpak-setup: flatpak-install-sdk install-flatpak-builder-tools