Create a basic Continuous Integration test
Run a program test at the end.
This commit is contained in:
parent
7573de8a61
commit
8f91b297f1
1 changed files with 24 additions and 0 deletions
24
.github/workflows/ci.yml
vendored
Normal file
24
.github/workflows/ci.yml
vendored
Normal 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
|
Loading…
Reference in a new issue