Don't use server-build-deps in flatpak

This commit is contained in:
Guillaume Meunier
2024-08-13 16:33:26 +02:00
parent 5d62daad5a
commit c7ddb99c14
3 changed files with 14 additions and 17 deletions
+3 -15
View File
@@ -54,9 +54,9 @@ jobs:
# 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
# - name: Build
# # Build your program with the given configuration
# run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Publish build dependencies
uses: actions/upload-artifact@v4
@@ -76,7 +76,6 @@ jobs:
build-server-flatpak:
name: Linux server (flatpak)
needs: build-server
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:freedesktop-23.08
@@ -85,17 +84,6 @@ jobs:
steps:
- 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
- uses: flatpak/flatpak-github-actions/flatpak-builder@b8be6bc0ede43cb3a2cc55895654312b14f84a0d
with:
+3 -1
View File
@@ -6,7 +6,9 @@
<project_license>GPL-3.0+</project_license>
<summary>The WiVRn server</summary>
<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> -->
<provides>
+8 -1
View File
@@ -129,7 +129,14 @@ modules:
sources:
- type: dir
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
buildsystem: cmake-ninja