test windows cmake workflow but without vcpkg packages #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
| name: ZEngine Window CMake Build | |
| on: | |
| push: | |
| branches: [ newcmakelinux ] | |
| jobs: | |
| Windows-CMake-Build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: humbletim/vsdevenv-shell@v2 | |
| - name: Create CMake Build Directory | |
| shell: vsdevenv x64 pwsh {0} | |
| run: mkdir ../build && cmake -B ../build -DCMAKE_BUILD_TYPE=Debug -G Ninja | |
| - name: Build | |
| shell: vsdevenv x64 pwsh {0} | |
| run: cmake --build ../build | |
| - name: Test | |
| shell: vsdevenv x64 pwsh {0} | |
| run: ctest . | |
| working-directory: ../build/ZEngine/tests | |