Skip to content

gd source: add a wrapper header to avoid conflicts with boolean defin… #2480

gd source: add a wrapper header to avoid conflicts with boolean defin…

gd source: add a wrapper header to avoid conflicts with boolean defin… #2480

Workflow file for this run

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