mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 15:01:49 +00:00
Check config working
This commit is contained in:
parent
7547152ab2
commit
326630ef1d
2 changed files with 5 additions and 4 deletions
7
.github/workflows/windows-clang.yml
vendored
7
.github/workflows/windows-clang.yml
vendored
|
|
@ -1,8 +1,8 @@
|
||||||
name: Windows Build (CLang)
|
name: Windows Build (CLang)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
# push:
|
||||||
branches: [ "main", "release-**"]
|
# branches: [ "main", "release-**"]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
|
|
||||||
|
|
@ -43,11 +43,12 @@ jobs:
|
||||||
- name: Configure project with CMake and vcpkg
|
- name: Configure project with CMake and vcpkg
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
run: |
|
run: |
|
||||||
|
export VCPKG_ROOT=./vcpkg
|
||||||
export VCPKG_DEFAULT_TRIPLET=x64-mingw-static
|
export VCPKG_DEFAULT_TRIPLET=x64-mingw-static
|
||||||
export VCPKG_DEFAULT_HOST_TRIPLET=x64-mingw-static
|
export VCPKG_DEFAULT_HOST_TRIPLET=x64-mingw-static
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -G "MinGW Makefiles" -DVCPKG_TARGET_TRIPLET=x64-mingw-static -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_WINDOWS_VCPKG=ON ..
|
cmake --preset default-windows -G "MinGW Makefiles" -DVCPKG_TARGET_TRIPLET=x64-mingw-static -DCMAKE_BUILD_TYPE=Release ..
|
||||||
cmake --build . --config Release
|
cmake --build . --config Release
|
||||||
- name: Package for Windows
|
- name: Package for Windows
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"version": 6,
|
"version": 6,
|
||||||
"configurePresets": [
|
"configurePresets": [
|
||||||
{
|
{
|
||||||
"name": "windows-default",
|
"name": "default-windows",
|
||||||
"condition": {
|
"condition": {
|
||||||
"type": "equals",
|
"type": "equals",
|
||||||
"rhs": "${hostSystemName}",
|
"rhs": "${hostSystemName}",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue