hikyuu2/.github/workflows/windows_python.yml
2023-09-15 01:07:04 +08:00

38 lines
779 B
YAML

name: win-python-build
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019, windows-2022]
arch: [x64] #, arm64]
concurrency:
group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-Windows-python-${{ matrix.os }}-${{ matrix.arch }}
cancel-in-progress: true
steps:
- uses: xmake-io/github-action-setup-xmake@v1
- name: checkout
run: |
git clone https://github.com/fasiondog/hikyuu.git --recursive --depth 1
- name: build
shell: cmd
run: |
cd hikyuu
xmake f -y --pyver=3.11
xmake -b core