add build info to release (#725)
* attempt to add VC_BUILD_NAME * fix * fix * update macos.yml * fix * update macos.yml * update macos.yml * add debug step * update * update * fix release.yml * update cmake * update WindowControl.cpp * update workflows * update release.yml * add --output-always * cleanup
This commit is contained in:
@@ -6,6 +6,11 @@ on:
|
||||
pull_request:
|
||||
branches: [ "main", "dev" ]
|
||||
workflow_call:
|
||||
inputs:
|
||||
build_name:
|
||||
required: true
|
||||
type: string
|
||||
description: 'Build name passed as VC_BUILD_NAME define'
|
||||
|
||||
jobs:
|
||||
build-windows:
|
||||
@@ -48,7 +53,7 @@ jobs:
|
||||
export VCPKG_ROOT=$(pwd)/vcpkg
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -G "MinGW Makefiles" -DVCPKG_TARGET_TRIPLET=x64-mingw-static -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=./vcpkg/scripts/buildsystems/vcpkg.cmake ..
|
||||
cmake -G "MinGW Makefiles" -DVCPKG_TARGET_TRIPLET=x64-mingw-static -DVC_BUILD_NAME="${{ inputs.build_name }}" -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=./vcpkg/scripts/buildsystems/vcpkg.cmake ..
|
||||
cmake --build . --config Release
|
||||
- name: Package for Windows
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user