2019-12-19 01:38:02 +03:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
container:
|
|
|
|
image: elementary/docker:unstable
|
|
|
|
|
|
|
|
steps:
|
2020-05-26 01:39:00 +03:00
|
|
|
- uses: actions/checkout@v2
|
2019-12-19 01:38:02 +03:00
|
|
|
- name: Install Dependencies
|
|
|
|
run: |
|
|
|
|
apt update
|
2021-04-30 01:36:59 +03:00
|
|
|
apt install -y gettext gnome-settings-daemon-dev gsettings-desktop-schemas-dev libbamf3-dev libcanberra-dev libcanberra-gtk3-dev libclutter-1.0-dev libgee-0.8-dev libglib2.0-dev libgnome-desktop-3-dev libgranite-dev libgtk-3-dev libmutter-6-dev libplank-dev libxml2-utils libgexiv2-dev meson valac valadoc
|
2019-12-19 01:38:02 +03:00
|
|
|
- name: Build
|
|
|
|
env:
|
|
|
|
DESTDIR: out
|
|
|
|
run: |
|
|
|
|
meson build
|
|
|
|
ninja -C build
|
|
|
|
ninja -C build install
|
2020-01-09 21:31:15 +03:00
|
|
|
|
|
|
|
lint:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
container:
|
|
|
|
image: valalang/lint
|
|
|
|
|
|
|
|
steps:
|
2021-08-17 01:23:46 +03:00
|
|
|
- uses: actions/checkout@v2
|
2020-01-09 21:31:15 +03:00
|
|
|
- name: Lint
|
2021-08-17 01:23:46 +03:00
|
|
|
run: |
|
2021-11-20 19:56:53 +03:00
|
|
|
io.elementary.vala-lint -d daemon
|
2021-08-17 01:23:46 +03:00
|
|
|
io.elementary.vala-lint -d lib
|
|
|
|
io.elementary.vala-lint -d plugins
|
|
|
|
io.elementary.vala-lint -d src
|