Skip to content

Commit

Permalink
Create Flatpak Manifest (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored May 11, 2021
1 parent bd04fab commit 25ecaf5
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 25 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on: [pull_request]

jobs:
flatpak:
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build
uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3
with:
bundle: nimbus.flatpak
manifest-path: com.github.danrabbit.nimbus.yml
run-tests: true
repository-name: elementary
repository-url: https://flatpak.elementary.io/repo.flatpakrepo
cache-key: "flatpak-builder-${{ github.sha }}"

lint:
runs-on: ubuntu-latest
container:
image: valalang/lint
steps:
- uses: actions/checkout@v2
- name: Lint
run: io.elementary.vala-lint -d .
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

17 changes: 17 additions & 0 deletions com.github.danrabbit.nimbus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
app-id: com.github.danrabbit.nimbus
runtime: io.elementary.Platform
runtime-version: 'daily'
sdk: io.elementary.Sdk
command: com.github.danrabbit.nimbus
finish-args:
- '--share=ipc'
- '--socket=fallback-x11'
- '--socket=wayland'

- '--metadata=X-DConf=migrate-path=/com/github/danrabbit/nimbus/'
modules:
- name: nimubs
buildsystem: meson
sources:
- type: dir
path: .

0 comments on commit 25ecaf5

Please sign in to comment.