yoga/.github/workflows/winbuild.yml

41 lines
892 B
YAML

name: "Windows Standalone Build"
on:
push:
tags: "v[0-9]+.[0-9]+.[0-9]+"
branches: master
jobs:
build:
name: "Build Windows standalone version"
runs-on: windows-latest
steps:
- name: "Checkout the repository"
uses: actions/checkout@v4
with:
submodules: true
- name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: "Get some useful debug information"
run: |
python -VV
python -c "from distutils import ccompiler; print(ccompiler.get_default_compiler())"
- name: "Build YOGA Windows Standelone Version"
run: |
winbuild\builddist.bat
- name: Archive Windows Build
uses: actions/upload-artifact@v3
with:
name: yoga-vX.X.X_win_standalone_x86-64
path: yogawin.dist