Skip to content

Update cmake-single-platform.yml #46

Update cmake-single-platform.yml

Update cmake-single-platform.yml #46

Workflow file for this run

name: C++/C Cmake Dll generation
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: true # Incluye los submódulos
fetch-depth: 0 # Clona el historial completo para los submódulos
- name: Prepare Vulkan SDK
uses: humbletim/[email protected]
with:
vulkan-query-version: 1.3.275.0
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: true
- name: Configure CMake
run: cmake -S ${{github.workspace}}/Ifnity -B ${{github.workspace}}/Ifnity/build -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_SHARED_IFNITY=ON
- name: Build
run: cmake --build ${{github.workspace}}/Ifnity/build --config ${{env.BUILD_TYPE}}