Skip to content

Punchboot-tool merge #19

Punchboot-tool merge

Punchboot-tool merge #19

name: Build punchboot-tools
# push
on: [pull_request]
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
steps:
- uses: actions/checkout@v4
- if: startsWith(matrix.os, 'windows') == true
name: Windows deps
uses: lukka/run-vcpkg@v11
id: vcpkg
with:
# This specifies the location of vcpkg, where it is going to be restored from cache, or create from scratch.
vcpkgDirectory: '${{ runner.workspace }}/vcpkg'
# The Git commit id of vcpkg to be checked out. This is only needed because we are not using a submodule.
vcpkgGitCommitId: '5b1214315250939257ef5d62ecdcbca18cf4fb1c'
- name: Build wheels
uses: pypa/cibuildwheel@v2.16.2
with:
package-dir: .
output-dir: wheelhouse
config-file: "pyproject.toml"
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl