Skip to content

Remove redundant environment variable setup for VCPKG_ROOT and CMAKE_… #63

Remove redundant environment variable setup for VCPKG_ROOT and CMAKE_…

Remove redundant environment variable setup for VCPKG_ROOT and CMAKE_… #63

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v5
with:
submodules: true
# Used to host cibuildwheel
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==3.3.0
- name: Install vcpkg
run: |
git clone https://github.com/microsoft/vcpkg.git
.\vcpkg\bootstrap-vcpkg.bat
shell: pwsh
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
MACOSX_DEPLOYMENT_TARGET: "14.0"
# to supply options, put them in 'env', like:
# env:
# CIBW_SOME_OPTION: value
# ...
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl