Skip to content

Commit

Permalink
Added Github continuous integration actions for compilation on Linux …
Browse files Browse the repository at this point in the history
…and Mac OSX
  • Loading branch information
ruven committed May 31, 2022
1 parent cbfe679 commit 655cedb
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
42 changes: 42 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Continuous Integration

on:
push:
branches: [ master ]

jobs:

linux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libtiff-dev libpng-dev libturbojpeg-dev libwebp-dev libmemcached-dev libopenjp2-7-dev

- name: Configure
run: |
./autogen.sh
./configure
- name: Compile
run: make


macos:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: brew install automake fcgi libtiff openjpeg libmemcached libpng webp

- name: Configure
run: |
./autogen.sh
./configure
- name: Compile
run: make
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ IIPImage - High Resolution Streaming Image Server
=================================================

[![GPLv3 Licensed](https://img.shields.io/badge/license-GPLv3-blue.svg)](https://www.gnu.org/copyleft/gpl.html)
[![Build Status](https://api.travis-ci.com/ruven/iipsrv.svg)](https://travis-ci.com/github/ruven/iipsrv)
[![Build Status](https://github.com/ruven/iipsrv/actions/workflows/c-cpp.yml/badge.svg?branch=master)](https://github.com/ruven/iipsrv/actions/workflows/c-cpp.yml)
[![Build Status](https://dev.azure.com/iipimage/iipsrv/_apis/build/status/iipsrv?branchName=master)](https://dev.azure.com/iipimage/iipsrv/_build/latest?definitionId=2&branchName=master)
[![CodeQL](https://github.com/ruven/iipsrv/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/ruven/iipsrv/actions/workflows/codeql-analysis.yml)
[![Coverity Scan](https://img.shields.io/coverity/scan/3997.svg)](https://scan.coverity.com/projects/ruven-iipsrv)
Expand Down

0 comments on commit 655cedb

Please sign in to comment.