pass patch number to the engine

This commit is contained in:
MihailRis 2026-11-01 17:30:34 +03:00
parent e370ec6495
commit 3e22dd6329
7 changed files with 48 additions and 7 deletions

View file

@ -11,6 +11,11 @@ on:
required: true
type: string
description: 'Build name passed as VC_BUILD_NAME define'
version_patch:
required: false
type: string
default: ''
description: 'Engine version patch number passed as VC_VERSION_PATCH define'
jobs:
build-dmg:
@ -29,7 +34,7 @@ jobs:
run: |
cmake -DOPENAL_INCLUDE_DIR=$(brew --prefix openal-soft)/include \
-DOPENAL_LIBRARY=$(brew --prefix openal-soft)/lib/libopenal.dylib \
-S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVOXELENGINE_BUILD_TESTS=ON -DVOXELENGINE_BUILD_APPDIR=1 -DVC_BUILD_NAME="${{ inputs.build_name }}"
-S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DVOXELENGINE_BUILD_TESTS=ON -DVOXELENGINE_BUILD_APPDIR=1 -DVC_BUILD_NAME="${{ inputs.build_name }}" -DVC_VERSION_PATCH="${{ inputs.version_patch }}"
- name: Build
run: |