fail-fast: true
matrix:
os: [ ubuntu-22.04, macos-14 ]
+ layer:
+ - layer-00-default
+ - layer-01-minimal
+ - layer-02-maximus
+ - layer-04-noauth-everything
runs-on: ${{ matrix.os }}
- name: Run build on Linux
if: runner.os == 'Linux'
- run: ./test-builds.sh
+ run: ./test-builds.sh ${{ matrix.layer }}
- name: Run build on MacOS
if: runner.os == 'macOS'
export CPPFLAGS="-I$HOMEBREW_PREFIX/include${CPPFLAGS:+ $CPPFLAGS}"
export LDFLAGS="-L$HOMEBREW_PREFIX/lib${LDFLAGS:+ $LDFLAGS}"
export CFLAGS="-Wno-compound-token-split-by-macro${CFLAGS:+ $CFLAGS}" # needed fir ltdl with Xcode
- ./test-builds.sh
+ ./test-builds.sh ${{ matrix.layer }}
- name: Publish build logs
if: success() || failure()