Commit ba7e245a authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐

ci: simplify flatpak building

Rely on flatpak to download all the deps before starting to build.
parent 001c50b0
......@@ -110,13 +110,7 @@ flatpak:
BUNDLE: "karapulse-nightly.flatpak"
script:
- flatpak-builder --stop-at=${FLATPAK_MODULE} app ${MANIFEST_PATH}
# Build the flatpak repo
- flatpak-builder --run app ${MANIFEST_PATH} meson --prefix=/app ${MESON_ARGS} _build
- flatpak-builder --run app ${MANIFEST_PATH} ninja -C _build install
# Create a flatpak bundle
- flatpak-builder --finish-only app ${MANIFEST_PATH}
- flatpak-builder app ${MANIFEST_PATH}
- flatpak build-export repo app
- flatpak build-bundle repo ${BUNDLE} ${APP_ID}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment