ci: Add CI via GitHub Actions

This commit is contained in:
aengelke
2020-06-14 13:43:26 +02:00
committed by GitHub
parent 80ec7ed960
commit d18b6bb3cf

21
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Environment
run: echo "::add-path::$HOME/.local/bin"
- name: Install dependencies
run: |
sudo apt install -y python3-setuptools ninja-build
pip3 install meson
- name: Configure
run: mkdir build; meson -Dbuildtype=debugoptimized build
- name: Build
run: ninja -v -C build
- name: Test
run: meson test -v -C build