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 22, 2024
1 parent bcb2984 commit fd27a2f
Show file tree
Hide file tree
Showing 2 changed files with 55 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
54 changes: 54 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
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 \
libgraphviz-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 \
libgraphviz-dev \
valac
- name: Build
run: |
grep -E 'version\s*:\s*\S+-frida' meson.build | cut -d"'" -f2 > .tarball-version
./autogen.sh
make -j$(nproc)
- name: Test
run: make check

0 comments on commit fd27a2f

Please sign in to comment.