Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/cibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,3 +241,30 @@ jobs:
shutdown_vm: false
sync_files: false
run: cmake --build build --config ${{ matrix.Configuration }} --parallel 4

flatpak:
name: Flatpak ${{ matrix.platform.arch }}
runs-on: ${{ matrix.platform.os }}

container:
image: ghcr.io/flathub-infra/flatpak-github-actions:freedesktop-25.08
options: --privileged

strategy:
fail-fast: false
matrix:
platform:
- arch: x86_64
os: ubuntu-latest
- arch: aarch64
os: ubuntu-24.04-arm

steps:
- uses: actions/checkout@main

- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: io.github.OpenXRay.xray-16-${{ matrix.platform.arch }}-${{ github.run_number }}.flatpak
manifest-path: misc/flatpak/manifest.yml
arch: ${{ matrix.platform.arch }}
verbose: true
26 changes: 26 additions & 0 deletions misc/flatpak/manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
id: io.github.OpenXRay.xray-16
runtime: org.freedesktop.Platform
runtime-version: '25.08'
sdk: org.freedesktop.Sdk
command: xr_3da
finish-args:
- --share=network
- --share=ipc
- --socket=fallback-x11
- --socket=wayland
- --socket=pulseaudio
- --device=dri

modules:
- name: OpenXRay
buildsystem: cmake
sources:
- type: git
url: https://github.com/OpenXRay/xray-16.git
branch: dev
config-opts:
- -D CMAKE_BUILD_TYPE=ReleaseMasterGold
- -D CMAKE_UNITY_BUILD=ON

#rename-icon: openxray_cop.png
rename-desktop-file: openxray_cop.desktop
Loading