summary refs log tree commit diff stats
path: root/.github/workflows
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2019-09-20 09:35:27 -0700
committerPatrick Griffis <tingping@tingping.se>2019-09-20 09:53:13 -0700
commit308838da32de4b2a91788666fab85eab1545ae09 (patch)
tree8be6c5d1507e8b957dae4552e14a3b7318df4078 /.github/workflows
parent92014628d1cc06334a9ca8c91a7184d50f5ab9a0 (diff)
Switch to Github Actions for Linux CI
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ubuntu-build.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/ubuntu-build.yml b/.github/workflows/ubuntu-build.yml
new file mode 100644
index 00000000..c3bafadc
--- /dev/null
+++ b/.github/workflows/ubuntu-build.yml
@@ -0,0 +1,27 @@
+name: Ubuntu Build
+on: [push, pull_request]
+jobs:
+  build:
+    runs-on: ubuntu-18.04
+
+    steps:
+      - uses: actions/checkout@v1
+        with:
+          fetch-depth: 1
+
+      - name: Install Dependencies
+        run: |
+          sudo apt-get update
+          sudo apt-get install -y meson libcanberra-dev libdbus-glib-1-dev libglib2.0-dev libgtk2.0-dev libluajit-5.1-dev libnotify-dev libpci-dev libperl-dev libproxy-dev libssl-dev python3-dev python3-cffi mono-devel desktop-file-utils
+
+      - name: Configure
+        run: meson build -Dwith-text=true -Dwith-theme-manager=true
+
+      - name: Build
+        run: ninja -C build
+
+      - name: Test
+        run: ninja -C build test
+
+      - name: Install
+        run: sudo ninja -C build install