gd source: add a wrapper header to avoid conflicts with boolean defin… #2486
Workflow file for this run
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: Scripts & Make Build | |
| on: [push, pull_request] | |
| env: | |
| CACHE_NUMBER: 2 | |
| COMPILER_VERSION: 2022.0.3 | |
| jobs: | |
| build-linux: | |
| name: ${{ matrix.compiler }}_linux_${{ matrix.program }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| compiler: | |
| - gnu | |
| - clang | |
| program: | |
| - background | |
| - convert | |
| - env2mod | |
| - flush | |
| - pnginfo | |
| - smokediff | |
| - smokeview | |
| - smokezip | |
| - timep | |
| - wind2fds | |
| exclude: | |
| # no clang build for following programs | |
| - compiler: clang | |
| program: convert | |
| - compiler: clang | |
| program: env2mod | |
| - compiler: clang | |
| program: flush | |
| - compiler: clang | |
| program: timep | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Build | |
| shell: bash | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install build-essential freeglut3-dev libx11-dev libxmu-dev libxi-dev | |
| pushd Build/${{ matrix.program }}/${{ matrix.compiler }}_linux | |
| ./make_${{ matrix.program }}.sh | |
| popd | |
| build-windows: | |
| name: ${{ matrix.compiler }}_windows_${{ matrix.program }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [windows-2022] | |
| compiler: | |
| - clang | |
| program: | |
| - background | |
| - convert | |
| - env2mod | |
| - flush | |
| - pnginfo | |
| - smokediff | |
| - smokeview | |
| - smokezip | |
| - timep | |
| - wind2fds | |
| exclude: | |
| # no clang build for following programs | |
| - compiler: clang | |
| program: timep | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Build | |
| shell: cmd | |
| run: | | |
| pushd Build\${{ matrix.program }}\${{ matrix.compiler }}_win | |
| call make_${{ matrix.program }}.bat bot | |
| popd |