From 78de7990ec210e85b4f937796086e732db3f3859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Tue, 25 Jan 2022 11:52:50 -0800 Subject: [PATCH 1/2] Create ci.yml --- .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..7f60ea9 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: CI + +on: + pull_request: + types: + - opened + - reopened + - synchronize + +jobs: + flatpak: + name: Flatpak + runs-on: ubuntu-latest + + container: + image: ghcr.io/elementary/flatpak-platform/runtime:6.1 + options: --privileged + + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Build + uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3 + with: + bundle: flatpak-authenticator.flatpak + manifest-path: io.elementary.flatpak-authenticator.yml + run-tests: true + repository-name: appcenter + repository-url: https://flatpak.elementary.io/repo.flatpakrepo + cache-key: "flatpak-builder-${{ github.sha }}" + + lint: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: elementary/actions/vala-lint@master From ddbc576938cf3ce385b0932f2252a51d70903438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Tue, 25 Jan 2022 11:55:01 -0800 Subject: [PATCH 2/2] Create io.elementary.flatpak-authenticator.yml --- io.elementary.flatpak-authenticator.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 io.elementary.flatpak-authenticator.yml diff --git a/io.elementary.flatpak-authenticator.yml b/io.elementary.flatpak-authenticator.yml new file mode 100644 index 0000000..f6d03b0 --- /dev/null +++ b/io.elementary.flatpak-authenticator.yml @@ -0,0 +1,17 @@ +app-id: io.elementary.flatpak-authenticator +runtime: io.elementary.Platform +runtime-version: '6.1' +sdk: io.elementary.Sdk +command: io.elementary.flatpak-authenticator +finish-args: + - '--share=ipc' + - '--share=network' + - '--socket=fallback-x11' + - '--socket=wayland' + +modules: + - name: flaptak-authenticator + buildsystem: meson + sources: + - type: dir + path: .