Don't use server-build-deps in flatpak
This commit is contained in:
@@ -54,9 +54,9 @@ jobs:
|
|||||||
# For easier packaging, build dependencies are made available as a separate archive
|
# For easier packaging, build dependencies are made available as a separate archive
|
||||||
run: (cd build/_deps/ ; tar --create --xz *-src) > server-build-deps.tar.xz
|
run: (cd build/_deps/ ; tar --create --xz *-src) > server-build-deps.tar.xz
|
||||||
|
|
||||||
# - name: Build
|
- name: Build
|
||||||
# # Build your program with the given configuration
|
# Build your program with the given configuration
|
||||||
# run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
|
||||||
|
|
||||||
- name: Publish build dependencies
|
- name: Publish build dependencies
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -76,7 +76,6 @@ jobs:
|
|||||||
|
|
||||||
build-server-flatpak:
|
build-server-flatpak:
|
||||||
name: Linux server (flatpak)
|
name: Linux server (flatpak)
|
||||||
needs: build-server
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: bilelmoussaoui/flatpak-github-actions:freedesktop-23.08
|
image: bilelmoussaoui/flatpak-github-actions:freedesktop-23.08
|
||||||
@@ -85,17 +84,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
|
||||||
name: Download server build dependencies
|
|
||||||
with:
|
|
||||||
name: server-build-deps
|
|
||||||
path: .
|
|
||||||
|
|
||||||
- name: Extract server build dependencies
|
|
||||||
run: |
|
|
||||||
mkdir -p deps
|
|
||||||
tar --file server-build-deps.tar.xz --directory=deps --extract
|
|
||||||
|
|
||||||
# TODO: replace with version > v6.3 when it's released
|
# TODO: replace with version > v6.3 when it's released
|
||||||
- uses: flatpak/flatpak-github-actions/flatpak-builder@b8be6bc0ede43cb3a2cc55895654312b14f84a0d
|
- uses: flatpak/flatpak-github-actions/flatpak-builder@b8be6bc0ede43cb3a2cc55895654312b14f84a0d
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
<project_license>GPL-3.0+</project_license>
|
<project_license>GPL-3.0+</project_license>
|
||||||
<summary>The WiVRn server</summary>
|
<summary>The WiVRn server</summary>
|
||||||
<description><p>The WiVRn server, long description TBD</p></description>
|
<description><p>The WiVRn server, long description TBD</p></description>
|
||||||
|
<developer id="org.meumeu.wivrn-server">
|
||||||
|
<name>Guillaume Meunier, Patrick Nicolas et al</name>
|
||||||
|
</developer>
|
||||||
<!-- <launchable type="desktop-id">org.meumeu.wivrn-server.desktop</launchable> -->
|
<!-- <launchable type="desktop-id">org.meumeu.wivrn-server.desktop</launchable> -->
|
||||||
|
|
||||||
<provides>
|
<provides>
|
||||||
|
|||||||
@@ -129,7 +129,14 @@ modules:
|
|||||||
sources:
|
sources:
|
||||||
- type: dir
|
- type: dir
|
||||||
path: ..
|
path: ..
|
||||||
# This assumes server-build-deps.tar.xz from the CI is extracted in the deps subdirectory
|
- type: archive
|
||||||
|
url: https://github.com/boostorg/pfr/archive/refs/tags/2.2.0.tar.gz
|
||||||
|
dest: deps/boostpfr-src
|
||||||
|
sha256: 6f490ec1383de5855dcf801c23f0a967f888eb6e1440b6ca0bf36c12d4ae7ac7
|
||||||
|
- type: git
|
||||||
|
url: https://gitlab.freedesktop.org/monado/monado
|
||||||
|
tag: dfc602288ab05131584a3f2be18031a13fccd061
|
||||||
|
dest: deps/monado-src
|
||||||
|
|
||||||
- name: opencomposite
|
- name: opencomposite
|
||||||
buildsystem: cmake-ninja
|
buildsystem: cmake-ninja
|
||||||
|
|||||||
Reference in New Issue
Block a user