Skip to content

Commit

Permalink
Add GitHub workflow for building and testing
Browse files Browse the repository at this point in the history
  • Loading branch information
gnome-mpv committed Feb 10, 2024
1 parent 615522d commit b8aa41d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test
on:
push:
branches: ["master"]
pull_request:
types:
- opened
- edited
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: sudo sed -i 's/jammy/lunar/g' /etc/apt/sources.list
- run: sudo apt update
- run: sudo apt dist-upgrade
- run: sudo apt install -y appstream-util libadwaita-1-dev libepoxy-dev libgtk-4-dev libmpv-dev meson ninja-build pkg-config gettext
- run: meson setup build
- run: ninja -C build test

0 comments on commit b8aa41d

Please sign in to comment.