Revert "Remove NumPy from find_package call." #1037
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 MSVC CPU | |
on: push | |
jobs: | |
MSVC-Test: | |
runs-on: windows-latest | |
steps: | |
- name: "Install latest MSVC compiler" | |
uses: ilammy/[email protected] | |
- name: "Install cmake 3.25.2" | |
uses: lukka/[email protected] | |
- name: "Clone the PLSSVM repository into PLSSVM/" | |
uses: actions/checkout@v2 | |
with: | |
path: PLSSVM | |
- name: "Install Python dependencies" | |
uses: py-actions/py-dependency-install@v4 | |
with: | |
path: "PLSSVM/.github/workflows/requirements.txt" | |
- name: "Configure PLSSVM using CMake" | |
run: | | |
mkdir PLSSVM/build | |
cd PLSSVM/build | |
cmake -DCMAKE_BUILD_TYPE=Release -DPLSSVM_TARGET_PLATFORMS="cpu" -DPLSSVM_ENABLE_TESTING=ON -DPLSSVM_TEST_FILE_NUM_DATA_POINTS=50 -DPLSSVM_TEST_FILE_NUM_FEATURES=20 -DPLSSVM_ENABLE_LTO=OFF -DPLSSVM_ENABLE_ASSERTS=ON .. | |
- name: "Build PLSSVM" | |
run: | | |
cd PLSSVM/build | |
cmake --build . | |
- name: "Run tests" | |
run: | | |
cd PLSSVM/build | |
ctest -j 2 -E ".*Exceptions\.|SourceLocation" --output-on-failure -C Release |