Skip to content

Merge pull request #36 from diffCheckOrg/test_suite #5

Merge pull request #36 from diffCheckOrg/test_suite

Merge pull request #36 from diffCheckOrg/test_suite #5

Workflow file for this run

name: "pypi-build"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
BUILD_TYPE: Release
VCPKG_FILE: c:/vcpkg/scripts/buildsystems/vcpkg.cmake
jobs:
pypi_build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup conda environment
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.9.1
- name: Create diff_check conda environment
run: conda env create -f environment.yml
- name: Activate diff_check conda environment
run: conda activate diff_check
- name: Cmake Configure
run: |
cmake -S . -B build -A x64 -DBUILD_PYTHON_MODULE=ON
- name: CMake Build
run: ${{github.workspace}}/cmake/build.bat
- name: Build wheel
run: |
cd ${{github.workspace}}/src/gh/diffCheck/
python setup.py bdist_wheel
cd ${{github.workspace}}
- name: Upload wheel
uses: actions/upload-artifact@v2
with:
name: wheel
path: ${{github.workspace}}/src/gh/diffCheck/dist/