Skip to content

DataBlobImpl: added option to provide custom memory allocator #2930

DataBlobImpl: added option to provide custom memory allocator

DataBlobImpl: added option to provide custom memory allocator #2930

name: Emscripten build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: ["windows-latest", "ubuntu-20.04", "macos-14"]
build_type: ["Debug", "Release"]
exclude:
# Exclude MacOS-Release
- os: "macos-14"
build_type: "Release"
include:
- os: "windows-latest"
host_name: "Win10"
- os: "ubuntu-20.04"
host_name: "Linux"
- os: "macos-14"
host_name: "MacOS"
runs-on: ${{ matrix.os }}
name: ${{ matrix.host_name }} -> Emscripten, ${{ matrix.build_type }}
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up build environment
if: success()
uses: DiligentGraphics/github-action/setup-build-env@v1
with:
platform: Emscripten
- name: Configure CMake
if: success()
uses: DiligentGraphics/github-action/configure-cmake@v1
with:
build-type: ${{ matrix.build_type }}
cmake-args: "-DDILIGENT_BUILD_CORE_INCLUDE_TEST=ON -DDILIGENT_BUILD_CORE_TESTS=ON"
- name: Build
if: success()
uses: DiligentGraphics/github-action/build@v1