Skip to content

Correctly handle padding entries in the Python bindings. #1045

Correctly handle padding entries in the Python bindings.

Correctly handle padding entries in the Python bindings. #1045

Workflow file for this run

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