Skip to content

Update cmake-single-platform.yml #88

Update cmake-single-platform.yml

Update cmake-single-platform.yml #88

name: C++/C CMake
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- 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: Install Ninja
run: choco install ninja -y
- name: Add Ninja to PATH
run: echo "C:\ProgramData\chocolatey\bin" >> $GITHUB_PATH
- name: Configure CMake
run: |
cmake -S ${{github.workspace}}/Ifnity -B ${{github.workspace}}/out/build/x64-Debug -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_IFNITY=False
- name: Build Project
run: cmake --build ${{github.workspace}}/out/build/x64-Debug --config Debug