mirror of
https://github.com/elementary/gala.git
synced 2024-12-24 01:36:05 +03:00
Use GitHub Actions for CI (#661)
This commit is contained in:
parent
09728e0ad6
commit
eca2bb1dfb
25
.github/workflows/main.yml
vendored
Normal file
25
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: CI
|
||||
|
||||
on: [push, 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 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-2-dev libplank-dev libxml2-utils meson valac valadoc
|
||||
- name: Build
|
||||
env:
|
||||
DESTDIR: out
|
||||
run: |
|
||||
meson build
|
||||
ninja -C build
|
||||
ninja -C build install
|
14
.travis.yml
14
.travis.yml
@ -1,14 +0,0 @@
|
||||
language: generic
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
- DEPENDENCY_PACKAGES="meson 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-2-dev libplank-dev libxml2-utils valac valadoc"
|
||||
|
||||
install:
|
||||
- docker pull elementary/docker:juno-unstable
|
||||
- docker run -v "$PWD":/tmp/build-dir elementary/docker:juno-unstable /bin/sh -c "apt-get update && apt-get -y install $DEPENDENCY_PACKAGES && cd /tmp/build-dir && meson build && ninja -C build"
|
||||
|
||||
script:
|
||||
- echo BUILDS PASSED
|
Loading…
Reference in New Issue
Block a user