Skip to content

Commit

Permalink
ci: Replace Travis with GitHub Actions
Browse files Browse the repository at this point in the history
Travis got disabled and re-enabling it requires jumping through hoops.
  • Loading branch information
jtojnar committed Feb 5, 2024
1 parent 6b05c9a commit 461cf8d
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 461cf8d

Please sign in to comment.