Skip to content

Commit

Permalink
Add CI workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Senichev <[email protected]>
  • Loading branch information
artemsen authored and Artem Senichev committed Aug 11, 2020
1 parent 45290bc commit 0e725d9
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- name: install dependencies
run: >
sudo apt install --no-install-recommends --yes
build-essential meson pkg-config wayland-protocols
libwayland-dev libcairo-dev libjson-c-dev libgif-dev libjpeg-dev
- name: meson
run: meson ./build
- name: ninja
run: ninja -C ./build
- name: check
run: ./build/swayimg --version
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Swayimg: image viewer for Sway/Wayland

![CI](https://github.com/artemsen/swayimg/workflows/CI/badge.svg)

The _swayimg_ utility can be used for preview images inside the currently
focused window (container).

Expand Down

0 comments on commit 0e725d9

Please sign in to comment.