forked from 1b-agent/opencadstudio-upstream
Add Flatpak release workflow and CI manifest
This commit is contained in:
1 parent
f52b4661d6
commit
95d4a2d7c3
2 files changed
+83
No files matched your search
@@ -0,0 +1,33 @@
|
||||
app-id: io.github.HakanSeven12.H7CAD
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: '24.08'
|
||||
sdk: org.freedesktop.Sdk
|
||||
sdk-extensions:
|
||||
- org.freedesktop.Sdk.Extension.rust-stable
|
||||
command: H7CAD
|
||||
|
||||
finish-args:
|
||||
- --device=dri
|
||||
- --socket=wayland
|
||||
- --socket=fallback-x11
|
||||
- --share=ipc
|
||||
|
||||
build-options:
|
||||
append-path: /usr/lib/sdk/rust-stable/bin
|
||||
env:
|
||||
CARGO_HOME: /run/build/H7CAD/cargo
|
||||
|
||||
modules:
|
||||
- name: H7CAD
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- cargo --offline fetch --manifest-path Cargo.toml --verbose
|
||||
- cargo --offline build --release --verbose
|
||||
- install -Dm755 target/release/H7CAD /app/bin/H7CAD
|
||||
- install -Dm644 assets/logo.svg /app/share/icons/hicolor/scalable/apps/io.github.HakanSeven12.H7CAD.svg
|
||||
- install -Dm644 flatpak/io.github.HakanSeven12.H7CAD.desktop /app/share/applications/io.github.HakanSeven12.H7CAD.desktop
|
||||
- install -Dm644 flatpak/io.github.HakanSeven12.H7CAD.metainfo.xml /app/share/metainfo/io.github.HakanSeven12.H7CAD.metainfo.xml
|
||||
sources:
|
||||
- type: dir
|
||||
path: .
|
||||
- flatpak/cargo-sources.json
|
||||
Reference in new issue
Block a user