Updated Github continuous integration configurations to eliminate war… #128
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install libtiff-dev libpng-dev libturbojpeg-dev libwebp-dev libavif-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@v4 | |
- name: Install dependencies | |
run: brew install automake libtool fcgi openjpeg libmemcached webp libavif libomp | |
- name: Configure | |
run: | | |
./autogen.sh | |
export CFLAGS="-I/opt/homebrew/include" | |
export CPPFLAGS=${CFLAGS} | |
export LDFLAGS="-L/opt/homebrew/lib" | |
./configure | |
- name: Compile | |
run: make |