Eliminate warnings from GCC when using maximal compiler warning levels #189
This file contains hidden or 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 libfcgi-dev 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 | |
| - name: Test | |
| run: make check | |
| 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 -I/opt/homebrew/opt/libomp/include" | |
| export CPPFLAGS=${CFLAGS} | |
| export LDFLAGS="-L/opt/homebrew/lib -L/opt/homebrew/opt/libomp/lib" | |
| export LIBS="-lomp" | |
| ./configure | |
| - name: Compile | |
| run: make | |
| - name: Test | |
| run: make check |