Update action version. #1022
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 17.XX" | |
uses: ilammy/[email protected] | |
with: | |
toolset: 17.XX | |
- 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 |