Skip to content

Commit

Permalink
ci: Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Feb 20, 2024
1 parent 2468b34 commit 661c297
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.github/workflows/ @oleavr
51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
meson:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get install \
gobject-introspection \
libgirepository1.0-dev \
libglib2.0-dev \
meson \
ninja-build \
valac
- name: Build
run: |
meson setup build
meson compile -C build
- name: Test
run: meson test -C build

autotools:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get install \
autoconf-archive \
gobject-introspection \
libgirepository1.0-dev \
libglib2.0-dev \
valac
- name: Build
run: |
./autogen.sh
make -j$(nproc)
- name: Test
run: make check

0 comments on commit 661c297

Please sign in to comment.