Add CI action

This commit is contained in:
Bleak Grey 2021-02-02 18:41:27 +03:00
parent 3fa255b86d
commit a7c7540935
2 changed files with 19 additions and 16 deletions

18
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,18 @@
on:
push:
branches: [master]
pull_request:
name: CI
jobs:
flatpak-builder:
name: "Flatpak Builder"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-3-38
options: --privileged
steps:
- uses: actions/checkout@v2
- uses: bilelmoussaoui/flatpak-github-actions@v2
with:
bundle: "com.github.bleakgrey.tootle.flatpak"
manifest-path: "com.github.bleakgrey.tootle.json"

View File

@ -2,7 +2,7 @@
"app-id": "com.github.bleakgrey.tootle",
"runtime": "org.gnome.Platform",
"sdk": "org.gnome.Sdk",
"runtime-version": "3.36",
"runtime-version": "3.38",
"command": "com.github.bleakgrey.tootle",
"finish-args": [
"--share=network",
@ -26,21 +26,6 @@
"*.a"
],
"modules": [
{
"name": "libhandy",
"buildsystem": "meson",
"builddir": true,
"config-opts": [
"-Dexamples=false",
"-Dtests=false"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.gnome.org/GNOME/libhandy.git"
}
]
},
{
"name": "tootle",
"builddir": true,