Create a basic Continuous Integration test

Run a program test at the end.
This commit is contained in:
Loren M. Lang 2024-01-16 01:42:00 -08:00 committed by Loren M. Lang
parent 7573de8a61
commit 8f91b297f1

24
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: TerminalImageViewer CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "*" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get install -qy imagemagick
- name: Build
run: make -C src
- name: Install
run: sudo make -C src install
- name: Test
run: tiv /usr/share/pixmaps/debian-logo.png