diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 00000000..80dab43c --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -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 diff --git a/README b/README index 959f3a6d..5e4014a4 100644 --- a/README +++ b/README @@ -2,7 +2,7 @@ IIPImage - High Resolution Streaming Image Server ================================================= [](https://www.gnu.org/copyleft/gpl.html) -[](https://travis-ci.com/github/ruven/iipsrv) +[](https://github.com/ruven/iipsrv/actions/workflows/c-cpp.yml) [](https://dev.azure.com/iipimage/iipsrv/_build/latest?definitionId=2&branchName=master) [](https://github.com/ruven/iipsrv/actions/workflows/codeql-analysis.yml) [](https://scan.coverity.com/projects/ruven-iipsrv)