presets for different operating systems #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # CMake build of ZEngine for Windows | |
| # | |
| name: Windows Build Workflow | |
| on: | |
| push: | |
| branches: [ header-reorganization ] | |
| jobs: | |
| cmake-build: | |
| name: cmake-build-windows-Debug-Test | |
| runs-on: windows-2022 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Vcpkg | |
| run: git clone --depth=1 https://github.com/Microsoft/vcpkg; bootstrap-vcpkg.bat | |
| shell: pwsh | |
| - name: Install Vulkan | |
| run: vcpkg install vulkan | |
| shell: pwsh | |
| - name: CMake Build | |
| run: $env:CMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake"; .\Scripts\BuildEngine.ps1 -Configurations Debug -RunClangFormat 0 | |
| shell: pwsh | |
| - name: Run Tests | |
| shell: pwsh | |
| run: .\Scripts\RunTests.ps1 -Configurations Debug | |