Update MSVC version used in GitHub action. #1024
Workflow file for this run
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
name: Windows CPU | |
on: push | |
jobs: | |
MSVC-Test: | |
runs-on: windows-latest | |
steps: | |
- name: "Install MSVC" | |
uses: ilammy/[email protected] | |
- name: "Install cmake 3.22.2" | |
uses: lukka/[email protected] | |
- name: "Clone Step" | |
uses: actions/checkout@v2 | |
with: | |
path: PLSSVM | |
- name: "CMake Step" | |
run: | | |
mkdir PLSSVM/build | |
cd PLSSVM/build | |
cmake -DCMAKE_BUILD_TYPE=Debug -DPLSSVM_TARGET_PLATFORMS="cpu" -DPLSSVM_ENABLE_TESTING=ON -DPLSSVM_GENERATE_TEST_FILE=OFF -DPLSSVM_ENABLE_LTO=OFF -DPLSSVM_ENABLE_ASSERTS=ON .. | |
- name: "Build Step" | |
run: | | |
cd PLSSVM/build | |
cmake --build . | |
- name: "Test Step" | |
run: | | |
cd PLSSVM/build | |
ctest --output-on-failure -C Debug |