Add CMake build with MSVC to GitHub Action CI workflow

This commit is contained in:
Be 2021-08-07 01:12:40 -05:00 committed by Vadim Zeitlin
parent 933ac7afbb
commit 4ab869543f

View file

@ -63,6 +63,11 @@ jobs:
cmake_defines: -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_FIND_ROOT_PATH=/usr/local -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO
cmake_samples: OFF
cmake_tests: OFF
- name: Windows MSVC
runner: windows-latest
cmake_generator: Ninja
cmake_samples: SOME
cmake_tests: CONSOLE_ONLY
env:
wxGTK_VERSION: ${{ matrix.gtk_version && matrix.gtk_version || 3 }}
@ -74,6 +79,7 @@ jobs:
submodules: 'recursive'
- name: Set environment variables
shell: bash
run: |
wxPROC_COUNT=`./build/tools/proc_count.sh`
if [ "${{ matrix.cmake_generator }}" == "Xcode" ]; then
@ -100,6 +106,11 @@ jobs:
run: |
./build/tools/before_install.sh
# required for CMake to find Ninja
- name: "[Windows] Set up MSVC Developer Command Prompt"
if: runner.os == 'Windows'
uses: seanmiddleditch/gha-setup-vsdevenv@v3
- name: Configuring
run: |
cmake --version