Skip to content

Make AVX2 and FMA compiler options conditional on x86/x64 processor a… #46

Make AVX2 and FMA compiler options conditional on x86/x64 processor a…

Make AVX2 and FMA compiler options conditional on x86/x64 processor a… #46

Workflow file for this run

name: Python Binding CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-verify-python:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install pybind11 dependency
run: |
python -m pip install --upgrade pip
pip install pybind11
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build Python Binding Module
run: msbuild python/neuralnetwork_py.sln /p:Configuration=Release /p:Platform=x64
env:
PYTHON_HOME: ${{ env.pythonLocation }}
- name: Verify Module Import and Functionality
run: python python/import_check.py