Skip to content

Commit

Permalink
Merge pull request #192 from jtojnar/github-ci
Browse files Browse the repository at this point in the history
ci: Replace Travis with GitHub Actions
  • Loading branch information
Albert Westra authored Feb 6, 2024
2 parents 6b05c9a + 461cf8d commit defe624
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Test

on:
- push
- pull_request

jobs:
linux:
name: Linux
runs-on: ubuntu-22.04
strategy:
matrix:
configureFlags:
- ""
- "--with-introspection"
- "--with-gegl"
include:
- configureFlags: "--with-introspection"
extraDeps: "libgirepository1.0-dev"
- configureFlags: "--with-gegl"
extraDeps: "libgegl-dev"
steps:
- uses: actions/checkout@v4
- name: "Install dependencies"
run: |
sudo apt-get update
sudo apt-get install -y \
libjson-c-dev \
intltool \
${{ matrix.extraDeps }}
- name: "Build"
run: |
./autogen.sh
./configure ${{ matrix.configureFlags }}
make
- name: "Run tests"
run: make distcheck

0 comments on commit defe624

Please sign in to comment.