CI: fix flatpak action (#281)

* CI: fix flatpak action

* Flatpak: update manifest

include libhandy & fix the module's type
This commit is contained in:
Bilal Elmoussaoui 2021-02-07 14:22:31 +01:00 committed by GitHub
parent af1d8a4a86
commit 1409510a57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 4 deletions

View File

@ -6,9 +6,9 @@ name: CI
jobs: jobs:
flatpak-builder: flatpak-builder:
name: "Flatpak Builder" name: "Flatpak Builder"
runs-on: ubuntu-latest runs-on: ubuntu-20.04
container: container:
image: bilelmoussaoui/flatpak-github-actions:gnome-3-38 image: bilelmoussaoui/flatpak-github-actions:gnome-3.38
options: --privileged options: --privileged
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -16,3 +16,4 @@ jobs:
with: with:
bundle: "com.github.bleakgrey.tootle.flatpak" bundle: "com.github.bleakgrey.tootle.flatpak"
manifest-path: "com.github.bleakgrey.tootle.json" manifest-path: "com.github.bleakgrey.tootle.json"
run-tests: "true"

View File

@ -26,14 +26,30 @@
"*.a" "*.a"
], ],
"modules": [ "modules": [
{
"name": "libhandy",
"buildsystem": "meson",
"config-opts": [
"-Dtests=false",
"-Dexamples=false",
"-Dglade_catalog=disabled"
],
"sources": [
{
"type": "archive",
"url": "https://ftp.acc.umu.se/pub/GNOME/sources/libhandy/1.0/libhandy-1.0.3.tar.xz",
"sha256": "559bb3acc2c362488917eb72ed25bdc181f4ae26ac94d177634cc5d34c867f7a"
}
]
},
{ {
"name": "tootle", "name": "tootle",
"builddir": true, "builddir": true,
"buildsystem": "meson", "buildsystem": "meson",
"sources": [ "sources": [
{ {
"type": "git", "type": "dir",
"url": "https://github.com/bleakgrey/tootle.git" "path": "."
} }
] ]
} }