From 8f91b297f1bf3399e0abc3e1de0c3ce1801c0580 Mon Sep 17 00:00:00 2001 From: "Loren M. Lang" Date: Tue, 16 Jan 2024 01:42:00 -0800 Subject: [PATCH] Create a basic Continuous Integration test Run a program test at the end. --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..df78dae --- /dev/null +++ b/.github/workflows/ci.yml @@ -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