-
-
Notifications
You must be signed in to change notification settings - Fork 200
42 lines (36 loc) · 1.27 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: CI
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
container:
image: elementary/docker:unstable
steps:
- uses: actions/checkout@v1
- name: Install Dependencies
run: |
apt update
apt install -y libarchive-dev valac meson appstream-util xvfb at-spi2-core git build-essential autoconf autoconf-archive autopoint automake pkg-config libtool m4 autoconf-archive gtk-doc-tools libxml2-utils gobject-introspection libgirepository1.0-dev libglib2.0-dev libjson-glib-dev gettext libcairo2-dev libgtk-3-dev
- name: Build
run: |
meson build
ninja -C build
ninja -C build install
flatpak:
name: Flatpak
runs-on: ubuntu-latest
container:
image: ghcr.io/elementary/flatpak-platform/runtime:6
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3
with:
bundle: akira-dev.flatpak
manifest-path: com.github.akiraux.akira.yml
run-tests: true
repository-name: appcenter
repository-url: https://flatpak.elementary.io/repo.flatpakrepo
cache-key: "flatpak-builder-${{ github.sha }}"