Skip to content

[python] add port

[python] add port #731

name: CI-windows
on: [push]
jobs:
build:
runs-on: windows-2022
steps:
- name: Install python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install ninja
uses: crazy-max/ghaction-chocolatey@v3
with:
args: install ninja --no-progress
- name: Checkout the code
uses: actions/checkout@v1
- name: Bootstrap the ports on windows
run: python scripts/buildtools/vcpkg.py --triplet x64-windows-static-vs2022 --ports-dir . --clean-after-build
- name: Archive build logs
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: build-logs
path: |
buildtrees/**/config*.log
buildtrees/**/build*.log
buildtrees/**/install*.log
buildtrees/**/package*.log