[python] add port #731
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |