Environment variable fix #6
This file contains 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
# This starter workflow is for a CMake project running on multiple platforms. There is a different starter workflow if you just want a single platform. | |
# See: https://github.com/actions/starter-workflows/blob/main/ci/cmake-single-platform.yml | |
name: Win64 - MSVC | |
on: | |
push: | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
jobs: | |
job: | |
name: ${{ matrix.os }}-${{ github.workflow }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- uses: lukka/get-cmake@latest | |
with: | |
cmakeVersion: 3.29.2 | |
ninjaVersion: 1.11.1 | |
- name: Restore from cache and setup vcpkg executable and data files. | |
uses: lukka/run-vcpkg@v11 | |
with: | |
vcpkgJsonGlob: 'vcpkg.json' | |
- name: Build and test Game in Release mode | |
uses: lukka/run-cmake@v10 | |
with: | |
configurePreset: 'windows-msvc-release' | |
buildPreset: 'windows-msvc-release' | |
testPreset: 'test-windows-msvc-release' | |
- name: Build and test Editor in Debug mode | |
uses: lukka/run-cmake@v10 | |
with: | |
configurePreset: 'windows-msvc-debug-editor' | |
buildPreset: 'windows-msvc-debug-editor' | |
testPreset: 'test-windows-msvc-debug-editor' |