Skip to content

Commit

Permalink
Added Github continuous integration actions for build status
Browse files Browse the repository at this point in the history
  • Loading branch information
ruven committed May 31, 2022
1 parent cbfe679 commit 75d1f95
Showing 1 changed file with 42 additions and 0 deletions.
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: Build

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

0 comments on commit 75d1f95

Please sign in to comment.