2019-09-20 19:35:27 +03:00
|
|
|
name: Ubuntu Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
build:
|
2021-07-13 19:32:04 +03:00
|
|
|
runs-on: ubuntu-20.04
|
2019-09-20 19:35:27 +03:00
|
|
|
|
|
|
|
steps:
|
2020-04-13 17:14:42 +03:00
|
|
|
- uses: actions/checkout@v2
|
2019-09-20 19:35:27 +03:00
|
|
|
|
|
|
|
- name: Install Dependencies
|
|
|
|
run: |
|
|
|
|
sudo apt-get update
|
2021-07-13 20:24:19 +03:00
|
|
|
sudo apt-get install -y meson libcanberra-dev libdbus-glib-1-dev libglib2.0-dev libgtk2.0-dev libluajit-5.1-dev libpci-dev libperl-dev libproxy-dev libssl-dev python3-dev python3-cffi mono-devel desktop-file-utils
|
2019-09-20 19:35:27 +03:00
|
|
|
|
|
|
|
- name: Configure
|
2021-07-13 19:12:22 +03:00
|
|
|
run: meson build -Dtext=true -Dtheme-manager=true -Dauto_features=enabled
|
2019-09-20 19:35:27 +03:00
|
|
|
|
|
|
|
- name: Build
|
|
|
|
run: ninja -C build
|
|
|
|
|
|
|
|
- name: Test
|
|
|
|
run: ninja -C build test
|
|
|
|
|
|
|
|
- name: Install
|
|
|
|
run: sudo ninja -C build install
|