Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update OS to 22.04, Added RPM compile #84

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alextrical
Copy link

@alextrical alextrical commented Dec 24, 2023

Updated base OS from 18.04 to 22.04 as the old version of Ubuntu wasn't able to be fetched.
Build set to Release, and strip out debugging flags.
Generation of RPM files for all 3 architectures setup inline with the DEB generation.
Added workflow_dispatch: to the workflow, allowing the the WebUI to trigger a workflow.

Artifacts for RPM and DEB are combined in one archive per architecture.

Set the source directory for generate-rpm by supplying --target-dir.

```
When --target-dir TARGET-DIR and --target x86_64-unknown-linux-gnu are specified, a binary RPM file will be created at TARGET-DIR/x86_64-unknown-linux-gnu/generate-rpm/XXX.rpm instead of target/generate-rpm/XXX.rpm. In this case, the source of the asset { source = "target/release/XXX", dest = "/usr/bin/XXX" } will be treated as TARGET-DIR/x86_64-unknown-linux-gnu/release/XXX instead of target/release/XXX.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant