Skip to content

Improved buffer memory reuse in the no-suballocation debug mode #47

Improved buffer memory reuse in the no-suballocation debug mode

Improved buffer memory reuse in the no-suballocation debug mode #47

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: "./build/Tephra.sln"
# Configuration type to build.
# You can convert this to a build matrix if you need coverage of multiple configuration types.
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: Release
permissions:
contents: read
jobs:
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1
- name: Prepare Vulkan SDK
uses: humbletim/[email protected]
with:
vulkan-query-version: latest
vulkan-components: Vulkan-Headers
vulkan-use-cache: true
- name: Build Solution
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /t:Tephra:Rebuild ${{env.SOLUTION_FILE_PATH}}
build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: lukka/get-cmake@latest
- name: Prepare Vulkan SDK
uses: humbletim/[email protected]
with:
vulkan-query-version: latest
# Vulkan-Loader is not actually needed, but cmake cannot include the Vulkan library as just headers
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true
- name: Configure cmake
run: cmake -S . -B out -G "Ninja"
- name: Build targets
run: cmake --build out --parallel --config ${{env.BUILD_CONFIGURATION}}
build_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Doxygen
uses: ssciwr/[email protected]
- name: Setup Python environment
run: pip install Jinja2 Pygments
- name: Build Documentation
working-directory: ./build
run: python "./mcss/documentation/doxygen.py" "mcssconf.py"